auth-backend: update API report
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -377,7 +377,7 @@ export const createOAuth2Provider: (
|
||||
|
||||
// @public @deprecated (undocumented)
|
||||
export const createOauth2ProxyProvider: (options: {
|
||||
authHandler: AuthHandler<OAuth2ProxyResult<unknown>>;
|
||||
authHandler?: AuthHandler<OAuth2ProxyResult<unknown>> | undefined;
|
||||
signIn: {
|
||||
resolver: SignInResolver<OAuth2ProxyResult<unknown>>;
|
||||
};
|
||||
@@ -564,10 +564,11 @@ export type Oauth2ProxyProviderOptions<JWTPayload> = {
|
||||
};
|
||||
|
||||
// @public
|
||||
export type OAuth2ProxyResult<JWTPayload> = {
|
||||
export type OAuth2ProxyResult<JWTPayload = {}> = {
|
||||
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<OAuth2ProxyResult<unknown>>;
|
||||
authHandler?: AuthHandler<OAuth2ProxyResult<unknown>> | undefined;
|
||||
signIn: {
|
||||
resolver: SignInResolver<OAuth2ProxyResult<unknown>>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user