SessionApi
Home > @backstage/core-plugin-api
> SessionApi
The SessionApi provides basic controls for any auth provider that is tied to a persistent session.
Signature:
export type SessionApi = {
signIn(): Promise<void>;
signOut(): Promise<void>;
sessionState$(): Observable<SessionState>;
};
References: Observable, SessionState