Class AuthTokenAndExpiration
Represents an auth token and its expiration.
public record AuthTokenAndExpiration : IEquatable<AuthTokenAndExpiration>
- Inheritance
-
AuthTokenAndExpiration
- Implements
- Inherited Members
- Extension Methods
Constructors
- AuthTokenAndExpiration(IAuthToken, int)
Initializes a new instance of AuthTokenAndExpiration.
- AuthTokenAndExpiration(IAuthToken, DateTime?)
Initializes a new instance of AuthTokenAndExpiration.
Properties
- Expiry
The date and time when the token expires.
- Token
The auth token.
Methods
- Deconstruct(out IAuthToken, out DateTime?)
Deconstructs the AuthTokenAndExpiration into its components.