AuthTokensExpiryTime Property
Gets or sets the expiration time of the token.
Namespace: GenerativeAI.CoreAssembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
public DateTime? ExpiryTime { get; set; }
Property Value
NullableDateTime
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.