From 564de00947ec31bcd95c74a17ce4dd4aad56f748 Mon Sep 17 00:00:00 2001 From: headphonejames Date: Fri, 3 Feb 2023 13:35:28 -0800 Subject: [PATCH] update api reports Signed-off-by: headphonejames --- packages/core-app-api/api-report.md | 6 ++++-- packages/core-plugin-api/api-report.md | 3 ++- plugins/auth-backend/api-report.md | 9 +-------- 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/packages/core-app-api/api-report.md b/packages/core-app-api/api-report.md index aaaccb17de..d0890bfca8 100644 --- a/packages/core-app-api/api-report.md +++ b/packages/core-app-api/api-report.md @@ -263,7 +263,7 @@ export type AuthApiCreateOptions = { discoveryApi: DiscoveryApi; environment?: string; provider?: AuthProviderInfo; - usePopup?: boolean; + authFlow?: string; }; // @public @@ -492,6 +492,8 @@ export type OAuthApiCreateOptions = AuthApiCreateOptions & { // @public export class OAuthRequestManager implements OAuthRequestApi { + // (undocumented) + authFlow(): string; // (undocumented) authRequest$(): Observable; // (undocumented) @@ -517,7 +519,7 @@ export type OneLoginAuthCreateOptions = { discoveryApi: DiscoveryApi; oauthRequestApi: OAuthRequestApi; environment?: string; - usePopup?: boolean; + authFlow?: string; provider?: AuthProviderInfo; }; diff --git a/packages/core-plugin-api/api-report.md b/packages/core-plugin-api/api-report.md index ecf615dd01..d5f9bcbc60 100644 --- a/packages/core-plugin-api/api-report.md +++ b/packages/core-plugin-api/api-report.md @@ -193,7 +193,6 @@ export type AuthProviderInfo = { id: string; title: string; icon: IconComponent; - provider_id?: string; }; // @public @@ -549,6 +548,7 @@ export type OAuthRequestApi = { options: OAuthRequesterOptions, ): OAuthRequester; authRequest$(): Observable; + authFlow(): string; }; // @public @@ -563,6 +563,7 @@ export type OAuthRequester = ( export type OAuthRequesterOptions = { provider: AuthProviderInfo; onAuthRequest(scopes: Set): Promise; + authFlow: string; }; // @public diff --git a/plugins/auth-backend/api-report.md b/plugins/auth-backend/api-report.md index b272f81c2e..68852626a9 100644 --- a/plugins/auth-backend/api-report.md +++ b/plugins/auth-backend/api-report.md @@ -41,7 +41,6 @@ export type AuthProviderConfig = { appUrl: string; isOriginAllowed: (origin: string) => boolean; cookieConfigurer?: CookieConfigurer; - isPopupAuthenticationRequest: boolean; }; // @public (undocumented) @@ -290,7 +289,6 @@ export type OAuthAdapterOptions = { cookieConfigurer: CookieConfigurer; isOriginAllowed: (origin: string) => boolean; callbackUrl: string; - isPopupAuthenticationRequest: boolean; }; // @public (undocumented) @@ -389,6 +387,7 @@ export type OAuthState = { origin?: string; scope?: string; redirectUrl?: string; + authFlow?: string; }; // @public @@ -671,12 +670,6 @@ export const providers: Readonly<{ // @public (undocumented) export const readState: (stateString: string) => OAuthState; -// @public (undocumented) -export const redirectMessageResponse: ( - res: express.Response, - redirectUrl: string, -) => void; - // @public (undocumented) export interface RouterOptions { // (undocumented)