BaseAuthenticatorRefreshAccessTokenAsync Method

[Missing <summary> documentation for "M:GenerativeAI.Authenticators.BaseAuthenticator.RefreshAccessTokenAsync(GenerativeAI.Core.AuthTokens,System.Threading.CancellationToken)"]

Definition

Namespace: GenerativeAI.Authenticators
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public virtual Task<AuthTokens> RefreshAccessTokenAsync(
	AuthTokens token,
	CancellationToken cancellationToken = default
)

Parameters

token  AuthTokens

[Missing <param name="token"/> documentation for "M:GenerativeAI.Authenticators.BaseAuthenticator.RefreshAccessTokenAsync(GenerativeAI.Core.AuthTokens,System.Threading.CancellationToken)"]

cancellationToken  CancellationToken  (Optional)

[Missing <param name="cancellationToken"/> documentation for "M:GenerativeAI.Authenticators.BaseAuthenticator.RefreshAccessTokenAsync(GenerativeAI.Core.AuthTokens,System.Threading.CancellationToken)"]

Return Value

TaskAuthTokens

[Missing <returns> documentation for "M:GenerativeAI.Authenticators.BaseAuthenticator.RefreshAccessTokenAsync(GenerativeAI.Core.AuthTokens,System.Threading.CancellationToken)"]

Implements

IGoogleAuthenticatorRefreshAccessTokenAsync(AuthTokens, CancellationToken)

See Also