@@ -16,6 +16,7 @@ import { AppConfig } from '@backstage/config';
|
||||
import { AppTheme } from '@backstage/core-plugin-api';
|
||||
import { AppThemeApi } from '@backstage/core-plugin-api';
|
||||
import { atlassianAuthApiRef } from '@backstage/core-plugin-api';
|
||||
import { AuthErrorApi } from '@backstage/core-plugin-api';
|
||||
import { AuthProviderInfo } from '@backstage/core-plugin-api';
|
||||
import { AuthRequestOptions } from '@backstage/core-plugin-api';
|
||||
import { BackstageIdentityApi } from '@backstage/core-plugin-api';
|
||||
@@ -635,6 +636,14 @@ export class SamlAuth
|
||||
signOut(): Promise<void>;
|
||||
}
|
||||
|
||||
// @public
|
||||
export class SignInAuthErrorApi implements AuthErrorApi {
|
||||
// (undocumented)
|
||||
static create(options: { discovery: DiscoveryApi }): SignInAuthErrorApi;
|
||||
// (undocumented)
|
||||
getSignInAuthError(): Promise<Error | undefined>;
|
||||
}
|
||||
|
||||
// @public
|
||||
export type SignInPageProps = PropsWithChildren<{
|
||||
onSignInSuccess(identityApi: IdentityApi): void;
|
||||
|
||||
@@ -194,6 +194,14 @@ export function attachComponentData<P>(
|
||||
data: unknown,
|
||||
): void;
|
||||
|
||||
// @public
|
||||
export type AuthErrorApi = {
|
||||
getSignInAuthError(): Promise<Error | undefined>;
|
||||
};
|
||||
|
||||
// @public
|
||||
export const authErrorApiRef: ApiRef<AuthErrorApi>;
|
||||
|
||||
// @public
|
||||
export type AuthProviderInfo = {
|
||||
id: string;
|
||||
|
||||
Reference in New Issue
Block a user