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 |
---|---|---|
OidcTokenOptions | options | The options to create the token from. |
CancellationToken | cancellationToken | The cancellation token that may be used to cancel the request. |
Returns
Type | Description |
---|---|
Task<OidcToken> | The OIDC token. |