auth-node: fix OAuthState doc

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-08-11 16:22:37 +02:00
parent 296c818ddf
commit b8515ae3b6
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -388,7 +388,7 @@ export interface OAuthSession {
tokenType: string;
}
// @public (undocumented)
// @public
export type OAuthState = {
nonce: string;
env: string;
+4 -3
View File
@@ -18,10 +18,11 @@ import pickBy from 'lodash/pickBy';
import { Request } from 'express';
import { NotAllowedError } from '@backstage/errors';
/** @public */
/**
* A type for the serialized value in the `state` parameter of the OAuth authorization flow
* @public
*/
export type OAuthState = {
/* A type for the serialized value in the `state` parameter of the OAuth authorization flow
*/
nonce: string;
env: string;
origin?: string;