update api specification
Signed-off-by: Gasan Guseinov <gasan.guseinov@ing.com>
This commit is contained in:
@@ -294,6 +294,13 @@ export type AuthApiCreateOptions = {
|
||||
configApi?: ConfigApi;
|
||||
};
|
||||
|
||||
// @public
|
||||
export type AuthConnector<AuthSession> = {
|
||||
createSession(options: CreateSessionOptions): Promise<AuthSession>;
|
||||
refreshSession(scopes?: Set<string>): Promise<AuthSession>;
|
||||
removeSession(): Promise<void>;
|
||||
};
|
||||
|
||||
// @public
|
||||
export type BackstageApp = {
|
||||
getPlugins(): BackstagePlugin[];
|
||||
@@ -353,6 +360,12 @@ export function createFetchApi(options: {
|
||||
middleware?: FetchMiddleware | FetchMiddleware[] | undefined;
|
||||
}): FetchApi;
|
||||
|
||||
// @public (undocumented)
|
||||
export type CreateSessionOptions = {
|
||||
scopes: Set<string>;
|
||||
instantPopup?: boolean;
|
||||
};
|
||||
|
||||
// @public
|
||||
export function createSpecializedApp(options: AppOptions): BackstageApp;
|
||||
|
||||
@@ -478,6 +491,15 @@ export class LocalStorageFeatureFlags implements FeatureFlagsApi {
|
||||
save(options: FeatureFlagsSaveOptions): void;
|
||||
}
|
||||
|
||||
// @public
|
||||
export type LoginPopupOptions = {
|
||||
url: string;
|
||||
name: string;
|
||||
origin: string;
|
||||
width?: number;
|
||||
height?: number;
|
||||
};
|
||||
|
||||
// @public
|
||||
export class MicrosoftAuth {
|
||||
// (undocumented)
|
||||
@@ -640,6 +662,9 @@ export class SamlAuth
|
||||
signOut(): Promise<void>;
|
||||
}
|
||||
|
||||
// @public
|
||||
export function showLoginPopup(options: LoginPopupOptions): Promise<any>;
|
||||
|
||||
// @public
|
||||
export type SignInPageProps = PropsWithChildren<{
|
||||
onSignInSuccess(identityApi: IdentityApi): void;
|
||||
|
||||
Reference in New Issue
Block a user