IAuthorizationClient Interface
Beta
Interface to provide authorization information for various API
Implemented by
- ImsTestAuthorizationClient
Methods
| Name | Description | |
|---|---|---|
| getAccessToken(requestContext?: ClientRequestContext): Promise<AccessToken> | Returns a promise that resolves to the AccessToken of the currently authorized user or authorized client (in the case of agent applications). |
Properties
| Name | Type | Description | |
|---|---|---|---|
| hasExpired | boolean | Set to true if the user has signed in, but the token has expired and requires a refresh | |
| hasSignedIn | boolean | Set to true if signed in - the accessToken may be active or may have expired and require a refresh | |
| isAuthorized | boolean | Set to true if there's a current authorized user or client (in the case of agent applications). |
Defined in
Last Updated: 08 January, 2020