AuthTokensExpiryTime Property

Gets or sets the expiration time of the token.

Definition

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

Property Value

NullableDateTime

Remarks

The ExpiryTime property indicates the exact date and time when the token becomes invalid and can no longer be used. It is important to monitor this value to refresh or renew the token before it expires, ensuring uninterrupted access to the required secure APIs or resources. Expiration time is typically provided by the authentication provider.

See Also