Class RefreshTokenRequest
Represents the request for refreshing an expired access token.
public class RefreshTokenRequest
- Inheritance
-
RefreshTokenRequest
- Inherited Members
Remarks
This request is used to obtain a new access token without requiring the user to re-authenticate. Both the expired access token and a valid refresh token must be provided.
Properties
RefreshToken
Gets or sets the refresh token issued during the original authentication.
public string? RefreshToken { get; set; }
Property Value
Remarks
This token must be valid and not expired. It is used to verify that the refresh request is legitimate and to generate a new access token and refresh token pair.
Token
Gets or sets the expired or soon-to-expire JWT access token.
public string? Token { get; set; }
Property Value
Remarks
This token may be expired but is still needed to validate the refresh request and extract user information for generating a new token.