| | | 1 | | namespace ArturRios.Util.WebApi.Security.Records; |
| | | 2 | | |
| | | 3 | | /// <summary>The outcome of an <c>ITokenValidator</c> attempt: a resolved user, or an error describing why validation fa |
| | | 4 | | /// <param name="User">The authenticated user when validation succeeded; otherwise <see langword="null"/>.</param> |
| | | 5 | | /// <param name="Error">A human-readable error when <paramref name="User"/> is <see langword="null"/>; otherwise <see la |
| | 29 | 6 | | public readonly record struct TokenValidationResult(AuthenticatedUser? User, string? Error); |