| | | 1 | | using ArturRios.Mediator.Command; |
| | | 2 | | |
| | | 3 | | namespace ArturRios.Heimdall.Command.Input; |
| | | 4 | | |
| | | 5 | | /// <summary> |
| | | 6 | | /// Intent to register a password <c>User</c> in a scope without an administrator (UC-47, |
| | | 7 | | /// FR-SR-03). Anonymous: nothing here is bound from a token. <see cref="ScopeId" /> is nullable |
| | | 8 | | /// so a body that omits it is refused by the validator instead of binding <c>Guid.Empty</c>. |
| | | 9 | | /// </summary> |
| | | 10 | | public class RegisterCommand : BaseCommand |
| | | 11 | | { |
| | 222 | 12 | | public string Name { get; set; } = string.Empty; |
| | | 13 | | |
| | 222 | 14 | | public string Email { get; set; } = string.Empty; |
| | | 15 | | |
| | 220 | 16 | | public string Password { get; set; } = string.Empty; |
| | | 17 | | |
| | 185 | 18 | | public Guid? ScopeId { get; set; } |
| | | 19 | | } |