Class LoginResponse
Represents the response data returned from a login operation.
public class LoginResponse
- Inheritance
-
LoginResponse
- Inherited Members
- Extension Methods
Properties
Expiration
public DateTime Expiration { get; set; }
Property Value
RefreshToken
public string RefreshToken { get; set; }
Property Value
Token
public string Token { get; set; }
Property Value
Methods
IsExpired()
Determines whether the item has expired by comparing its Expiration value to the current UTC time.
Returns true when the expiration date has passed, or when no expiration date has been set (i.e., MinValue), treating unset expirations as expired.
public bool IsExpired()
Returns
- bool
trueif the item is expired or has no expiration date set; otherwise,false.