| | | 1 | | using ArturRios.Mediator.Command; |
| | | 2 | | |
| | | 3 | | namespace ArturRios.Heimdall.Command.Output; |
| | | 4 | | |
| | | 5 | | /// <summary> |
| | | 6 | | /// The scope as updated by <see cref="Input.SetGoogleSignInCommand" /> (UC-24) — step 5 of the |
| | | 7 | | /// main flow returns the scope, not just the flag. Only externally-facing <c>PublicId</c> |
| | | 8 | | /// identifiers are exposed; internal Ids never leave the data layer. <c>IsDeleted</c> is absent: |
| | | 9 | | /// the handler only ever answers for a non-deleted scope (AF-24a), so it would be <c>false</c> on |
| | | 10 | | /// every response by construction. |
| | | 11 | | /// </summary> |
| | | 12 | | public class SetGoogleSignInCommandOutput : CommandOutput |
| | | 13 | | { |
| | | 14 | | /// <summary>Public identifier of the scope.</summary> |
| | 24 | 15 | | public Guid Id { get; set; } |
| | | 16 | | |
| | | 17 | | /// <summary>Scope display name.</summary> |
| | 33 | 18 | | public string Name { get; set; } = string.Empty; |
| | | 19 | | |
| | | 20 | | /// <summary>Scope description, if any.</summary> |
| | 19 | 21 | | public string? Description { get; set; } |
| | | 22 | | |
| | | 23 | | /// <summary>Whether Google sign-in is enabled for the scope, as just set.</summary> |
| | 24 | 24 | | public bool GoogleSignInEnabled { get; set; } |
| | | 25 | | |
| | | 26 | | /// <summary>Base link for this scope's verification emails, or <c>null</c> to use the global one.</summary> |
| | 18 | 27 | | public string? EmailVerificationUrl { get; set; } |
| | | 28 | | |
| | | 29 | | /// <summary>Base link for this scope's password-reset emails, or <c>null</c> to use the global one.</summary> |
| | 18 | 30 | | public string? PasswordResetUrl { get; set; } |
| | | 31 | | |
| | | 32 | | /// <summary>Public identifiers of the scope's owners.</summary> |
| | 34 | 33 | | public IEnumerable<Guid> OwnerIds { get; set; } = new List<Guid>(); |
| | | 34 | | |
| | | 35 | | /// <summary>Creation timestamp.</summary> |
| | 19 | 36 | | public DateTime CreatedAt { get; set; } |
| | | 37 | | |
| | | 38 | | /// <summary>Last update timestamp.</summary> |
| | 19 | 39 | | public DateTime UpdatedAt { get; set; } |
| | | 40 | | } |