public interface IOidcTokenProviderRepresents an OIDC token provider.
Namespace
Google.Apis.Auth.OAuth2Assembly
Google.Apis.Auth.dll
Methods
GetOidcTokenAsync(OidcTokenOptions, CancellationToken)
Task<OidcToken> GetOidcTokenAsync(OidcTokenOptions options, CancellationToken cancellationToken = default)Returns an OIDC token for the given options.
| Parameters | |
|---|---|
| Name | Description |
options |
OidcTokenOptionsThe options to create the token from. |
cancellationToken |
CancellationTokenThe cancellation token that may be used to cancel the request. |
| Returns | |
|---|---|
| Type | Description |
TaskOidcToken |
The OIDC token. |