Поделиться через


BearerTokenCredential interface

Credential for Bearer token authentication.

Methods

getBearerToken(GetBearerTokenOptions)

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.