clear before ending that session.
Constructors
constructor
• new WorkspaceIdentityClient(deployment, getSignInToken, options?)
Parameters
Methods
clear
▸ clear():void
Discard cached identity and invalidate every outstanding exchange.
Returns
void
getIdentity
▸ getIdentity(options?): Promise<null | Token>
Return an identity for this deployment, or null if the session ended.
A forced refresh supersedes an older exchange as well as the token cache.
Parameters
Returns
Promise<null | Token>