| | | 1 | | using ArturRios.Mediator.Command; |
| | | 2 | | |
| | | 3 | | namespace ArturRios.Heimdall.Command.Output; |
| | | 4 | | |
| | | 5 | | /// <summary>The scope as updated by <see cref="Input.SetSelfRegistrationCommand" /> (UC-47 toggle).</summary> |
| | | 6 | | public class SetSelfRegistrationCommandOutput : CommandOutput |
| | | 7 | | { |
| | 7 | 8 | | public Guid Id { get; set; } |
| | | 9 | | |
| | 11 | 10 | | public string Name { get; set; } = string.Empty; |
| | | 11 | | |
| | 6 | 12 | | public string? Description { get; set; } |
| | | 13 | | |
| | 6 | 14 | | public bool GoogleSignInEnabled { get; set; } |
| | | 15 | | |
| | 8 | 16 | | public bool SelfRegistrationEnabled { get; set; } |
| | | 17 | | |
| | | 18 | | /// <summary>Base link for this scope's verification emails, or <c>null</c> to use the global one.</summary> |
| | 6 | 19 | | public string? EmailVerificationUrl { get; set; } |
| | | 20 | | |
| | | 21 | | /// <summary>Base link for this scope's password-reset emails, or <c>null</c> to use the global one.</summary> |
| | 6 | 22 | | public string? PasswordResetUrl { get; set; } |
| | | 23 | | |
| | 11 | 24 | | public IEnumerable<Guid> OwnerIds { get; set; } = new List<Guid>(); |
| | | 25 | | |
| | 6 | 26 | | public DateTime CreatedAt { get; set; } |
| | | 27 | | |
| | 6 | 28 | | public DateTime UpdatedAt { get; set; } |
| | | 29 | | } |