From e863356c77bb02569ecb38f9978fef62f6f9775d Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Mon, 2 May 2022 18:10:01 +0200 Subject: [PATCH] auth-backend: update API report Signed-off-by: Patrik Oldsberg --- plugins/auth-backend/api-report.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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>; };