FrontendAuthorizationClient Interface

Beta

Extends

Implemented by

Methods

Name Description
Called to start the sign-in process.  
signOut(requestContext: ClientRequestContext): Promise<void> Called to start the sign-out process.  

Inherited methods

Name Inherited from Description
getAccessToken(requestContext?: ClientRequestContext): Promise<AccessToken> AuthorizationClient Returns a promise that resolves to the AccessToken of the currently authorized user

Properties

Name Type Description
hasSignedIn boolean Set to true if signed in - the accessToken may be active or may have expired and require a refresh  
onUserStateChanged BeEvent<(token: AccessToken | undefined) => void> Event called when the user's sign-in state changes - this may be due to calls to signIn(), signOut() or simply because the token expired  

Inherited properties

Name Type Inherited from Description
isAuthorized boolean AuthorizationClient Set to true if there's a current authorized user or client (in the case of agent applications).

Defined in

Last Updated: 13 May, 2020