diff --git a/plugins/auth-node/api-report.md b/plugins/auth-node/api-report.md index 4a384834d6..a7fc9b1612 100644 --- a/plugins/auth-node/api-report.md +++ b/plugins/auth-node/api-report.md @@ -388,7 +388,7 @@ export interface OAuthSession { tokenType: string; } -// @public (undocumented) +// @public export type OAuthState = { nonce: string; env: string; diff --git a/plugins/auth-node/src/oauth/state.ts b/plugins/auth-node/src/oauth/state.ts index c5b96414fa..fc747d08a5 100644 --- a/plugins/auth-node/src/oauth/state.ts +++ b/plugins/auth-node/src/oauth/state.ts @@ -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;