Interface IOidcTokenProvider

public interface IOidcTokenProvider

Represents an OIDC token provider.

Namespace

Google.Apis.Auth.OAuth2

Assembly

Google.Apis.Auth.dll

Methods

GetOidcTokenAsync(OidcTokenOptions, CancellationToken)

Task<OidcToken> GetOidcTokenAsync(OidcTokenOptions options, CancellationToken cancellationToken = null)

Returns an OIDC token for the given options.

Parameters
TypeNameDescription
OidcTokenOptionsoptions

The options to create the token from.

CancellationTokencancellationToken

The cancellation token that may be used to cancel the request.

Returns
TypeDescription
Task<OidcToken>

The OIDC token.

Extension Method