diff --git a/plugins/auth-backend/api-report.md b/plugins/auth-backend/api-report.md index 41342bf03d..a38197668e 100644 --- a/plugins/auth-backend/api-report.md +++ b/plugins/auth-backend/api-report.md @@ -377,7 +377,7 @@ export const createOAuth2Provider: ( // @public @deprecated (undocumented) export const createOauth2ProxyProvider: (options: { - authHandler: AuthHandler>; + authHandler?: AuthHandler> | undefined; signIn: { resolver: SignInResolver>; }; @@ -564,10 +564,11 @@ export type Oauth2ProxyProviderOptions = { }; // @public -export type OAuth2ProxyResult = { +export type OAuth2ProxyResult = { fullProfile: JWTPayload; accessToken: string; headers: IncomingHttpHeaders; + getHeader(name: string): string | undefined; }; // Warning: (ae-missing-release-tag) "OAuthAdapter" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -914,7 +915,7 @@ export const providers: Readonly<{ }>; oauth2Proxy: Readonly<{ create: (options: { - authHandler: AuthHandler>; + authHandler?: AuthHandler> | undefined; signIn: { resolver: SignInResolver>; };