| | | 1 | | using ArturRios.Mediator.Command; |
| | | 2 | | |
| | | 3 | | namespace ArturRios.Heimdall.Command.Output; |
| | | 4 | | |
| | | 5 | | /// <summary> |
| | | 6 | | /// UC-53's answer. <see cref="Secret" /> appears here and nowhere else, ever; <see cref="Id" /> |
| | | 7 | | /// is the credential's <c>PublicId</c> and the audit target. |
| | | 8 | | /// </summary> |
| | | 9 | | public class IssueApplicationCredentialCommandOutput : CommandOutput |
| | | 10 | | { |
| | 40 | 11 | | public Guid Id { get; set; } |
| | | 12 | | |
| | 49 | 13 | | public string Secret { get; set; } = string.Empty; |
| | | 14 | | |
| | 27 | 15 | | public DateTime CreatedAt { get; set; } |
| | | 16 | | |
| | 29 | 17 | | public DateTime? ExpiresAt { get; set; } |
| | | 18 | | } |