fix api reports again

Signed-off-by: Aramis <sennyeyaramis@gmail.com>
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
This commit is contained in:
Aramis
2024-01-27 18:06:29 -05:00
committed by aramissennyeydd
parent 68c6f67f0c
commit 215a37bc37
3 changed files with 40 additions and 0 deletions
+20
View File
@@ -464,6 +464,26 @@ export class GoogleAuth {
static create(options: OAuthApiCreateOptions): typeof googleAuthApiRef.T;
}
// @public
export class GuestAuth
implements ProfileInfoApi, BackstageIdentityApi, SessionApi
{
// (undocumented)
static create(options: AuthApiCreateOptions): GuestAuth;
// (undocumented)
getBackstageIdentity(
options?: AuthRequestOptions,
): Promise<BackstageIdentityResponse | undefined>;
// (undocumented)
getProfile(options?: AuthRequestOptions): Promise<ProfileInfo | undefined>;
// (undocumented)
sessionState$(): Observable<SessionState>;
// (undocumented)
signIn(): Promise<void>;
// (undocumented)
signOut(): Promise<void>;
}
// @public
export class LocalStorageFeatureFlags implements FeatureFlagsApi {
// (undocumented)
+5
View File
@@ -503,6 +503,11 @@ export const googleAuthApiRef: ApiRef<
SessionApi
>;
// @public
export const guestAuthApiRef: ApiRef<
ProfileInfoApi & BackstageIdentityApi & SessionApi
>;
// @public
export type IconComponent = ComponentType<
| {
+15
View File
@@ -644,6 +644,21 @@ export const providers: Readonly<{
) => AuthProviderFactory_2;
resolvers: never;
}>;
guest: Readonly<{
create: (
options?:
| {
authHandler?: AuthHandler<{}> | undefined;
signIn?:
| {
resolver: SignInResolver<{}>;
}
| undefined;
}
| undefined,
) => AuthProviderFactory_2;
resolvers: never;
}>;
}>;
// @public @deprecated (undocumented)