| | | 1 | | namespace ArturRios.Util.WebApi.Security.Records; |
| | | 2 | | |
| | | 3 | | /// <summary>The result of an authentication attempt, as returned by a web API's authentication route.</summary> |
| | | 4 | | /// <param name="Token">The issued JWT, or <c>null</c> if authentication failed.</param> |
| | | 5 | | /// <param name="Valid">Whether the authentication attempt succeeded.</param> |
| | | 6 | | /// <param name="CreatedAt">When the token was issued.</param> |
| | | 7 | | /// <param name="Expiration">When the token expires.</param> |
| | 0 | 8 | | public record Authentication(string? Token, bool Valid, string CreatedAt, string Expiration); |