Class TokenResponse
base dto for access/refresh token responses
Inherited Members
Namespace: FastEndpoints.Security
Assembly: FastEndpoints.Security.dll
Syntax
public class TokenResponse : TokenRequest
Properties
AccessExpiry
the expiry date-time of the access token
Declaration
[JsonIgnore]
public DateTime AccessExpiry { get; }
Property Value
Type | Description |
---|---|
DateTime |
AccessToken
the jwt access token which will be valid for the duration specified by AccessExpiry
Declaration
public string AccessToken { get; set; }
Property Value
Type | Description |
---|---|
string |
RefreshExpiry
the expiry date-time of the refresh token
Declaration
[JsonIgnore]
public DateTime RefreshExpiry { get; }
Property Value
Type | Description |
---|---|
DateTime |