IdentityApi
Home > @backstage/core-plugin-api
> IdentityApi
The Identity API used to identify and get information about the signed in user.
Signature:
export type IdentityApi = {
getProfileInfo(): Promise<ProfileInfo>;
getBackstageIdentity(): Promise<BackstageUserIdentity>;
getCredentials(): Promise<{
token?: string;
}>;
signOut(): Promise<void>;
};
References: ProfileInfo, BackstageUserIdentity