| | | 1 | | using ArturRios.Mediator.Command; |
| | | 2 | | |
| | | 3 | | namespace ArturRios.Heimdall.Command.Input; |
| | | 4 | | |
| | | 5 | | /// <summary> |
| | | 6 | | /// Intent to confirm an email address using the token UC-06 mailed out (UC-14, FR-EV-03). Carries |
| | | 7 | | /// no email and no scope: the token identifies the person on its own, which is why it is 48 |
| | | 8 | | /// random characters long. |
| | | 9 | | /// </summary> |
| | | 10 | | public class VerifyEmailCommand : BaseCommand |
| | | 11 | | { |
| | | 12 | | /// <summary>The verification token, exactly as it was issued.</summary> |
| | 708 | 13 | | public string Token { get; set; } = string.Empty; |
| | | 14 | | |
| | | 15 | | /// <summary> |
| | | 16 | | /// The password chosen at sign-up, required only when <see cref="Token" /> belongs to a UC-47 |
| | | 17 | | /// pending registration (spec §4.3a) and ignored for an ordinary verification token. |
| | | 18 | | /// </summary> |
| | 222 | 19 | | public string? Password { get; set; } |
| | | 20 | | } |