From d576de7f9e2313270d0f9750c6169ffa9663e3d1 Mon Sep 17 00:00:00 2001 From: Stephen Glass Date: Mon, 29 Jul 2024 16:11:58 -0400 Subject: [PATCH] build api reports Signed-off-by: Stephen Glass --- packages/core-app-api/api-report.md | 9 +++++++++ packages/core-plugin-api/api-report.md | 8 ++++++++ 2 files changed, 17 insertions(+) diff --git a/packages/core-app-api/api-report.md b/packages/core-app-api/api-report.md index 8b8cc991c8..ae9d709c88 100644 --- a/packages/core-app-api/api-report.md +++ b/packages/core-app-api/api-report.md @@ -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; } +// @public +export class SignInAuthErrorApi implements AuthErrorApi { + // (undocumented) + static create(options: { discovery: DiscoveryApi }): SignInAuthErrorApi; + // (undocumented) + getSignInAuthError(): Promise; +} + // @public export type SignInPageProps = PropsWithChildren<{ onSignInSuccess(identityApi: IdentityApi): void; diff --git a/packages/core-plugin-api/api-report.md b/packages/core-plugin-api/api-report.md index 134b338c92..22e254cc29 100644 --- a/packages/core-plugin-api/api-report.md +++ b/packages/core-plugin-api/api-report.md @@ -194,6 +194,14 @@ export function attachComponentData

( data: unknown, ): void; +// @public +export type AuthErrorApi = { + getSignInAuthError(): Promise; +}; + +// @public +export const authErrorApiRef: ApiRef; + // @public export type AuthProviderInfo = { id: string;