OAuth2Session
Home > @backstage/core-app-api
> OAuth2Session
Session information for generic OAuth2 auth.
Signature:
export type OAuth2Session = {
providerInfo: {
idToken: string;
accessToken: string;
scopes: Set<string>;
expiresAt?: Date;
};
profile: ProfileInfo;
backstageIdentity?: BackstageIdentityResponse;
};
References: ProfileInfo, BackstageIdentityResponse