GoogleAICredentialsAuthToken Property

Gets the Access Token for authenticating with Google AI APIs. This token is used for OAuth2-based authentication and is typically required when an API Key alone is insufficient for certain protected resources.

Definition

Namespace: GenerativeAI
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public AuthTokens? AuthToken { get; set; }

Property Value

AuthTokens

See Also