BearerTokenCredential interface
Credential for Bearer token authentication.
Methods
get |
Gets a Bearer token for the specified flows. |
Method Details
getBearerToken(GetBearerTokenOptions)
Gets a Bearer token for the specified flows.
function getBearerToken(options?: GetBearerTokenOptions): Promise<string>
Parameters
- options
- GetBearerTokenOptions
Options for the request.
Returns
Promise<string>
- a valid access token.