| | | 1 | | using ArturRios.Mediator.Command; |
| | | 2 | | |
| | | 3 | | namespace ArturRios.Heimdall.Command.Output; |
| | | 4 | | |
| | | 5 | | /// <summary> |
| | | 6 | | /// The result of confirming two-factor authentication setup (UC-37). The ten recovery codes are |
| | | 7 | | /// returned in plaintext this one time only — they are stored thereafter only as hashes and |
| | | 8 | | /// cannot be retrieved again (only regenerated, via UC-40). |
| | | 9 | | /// </summary> |
| | | 10 | | public class ConfirmTwoFactorAuthCommandOutput : CommandOutput |
| | | 11 | | { |
| | | 12 | | /// <summary>Always <c>true</c> when this output is returned — confirmation only ever succeeds fully.</summary> |
| | 38 | 13 | | public bool Enabled { get; set; } |
| | | 14 | | |
| | | 15 | | /// <summary>The ten freshly generated recovery codes, in plaintext (FR-2F-05).</summary> |
| | 70 | 16 | | public List<string> RecoveryCodes { get; set; } = []; |
| | | 17 | | } |