AuthTokensAccessToken Property

Gets or sets the access token used for authenticating requests to secure APIs or resources.

Definition

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

Property Value

String

Remarks

The access token is a string issued by an authentication provider, often having a limited lifetime. It is essential for granting access to protected endpoints or resources and is typically included in the authorization header of HTTP requests.

See Also