Skip to main content
Tokens from oauth2_client_credentials, kept until shortly before they lapse.
Implements: ITokenStore

Constructors

Tokens from oauth2_client_credentials, kept until shortly before they lapse.

Parameters

HttpMessageHandler
required
What sends the request.
Whose token_url applies.
(string Id, string Secret)
required
The OAuth client’s id and secret.
IReadOnlyDictionary<string, string>
Uri

Methods

AccessTokenAsync()

Gets the current access token.

Parameters

CancellationToken
required

Returns

ValueTask<string>