Interface IOidcTokenProvider
Represents an OIDC token provider.
Namespace: Google.Apis.Auth.OAuth2
Assembly: Google.Apis.Auth.dll
Syntax
public interface IOidcTokenProvider
Methods
GetOidcTokenAsync(OidcTokenOptions, CancellationToken)
Returns an OIDC token for the given options.
Declaration
Task<OidcToken> GetOidcTokenAsync(OidcTokenOptions options, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
Oidc |
options | The options to create the token from. |
Cancellation |
cancellationToken | The cancellation token that may be used to cancel the request. |