AuthTokensRefreshToken Property
Gets or sets the refresh token used to obtain a new access token when the current one expires.
Namespace: GenerativeAI.CoreAssembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
public string? RefreshToken { get; set; }
Property Value
String
The refresh token is a long-lived token issued by the authentication provider. It allows
the client to request a new access token without requiring the user to re-authenticate.
This property is essential for maintaining seamless access to protected resources
in scenarios where the access token's lifetime is limited.