| | | 1 | | using ArturRios.Mediator.Command; |
| | | 2 | | |
| | | 3 | | namespace ArturRios.Heimdall.Command.Output; |
| | | 4 | | |
| | | 5 | | /// <summary> |
| | | 6 | | /// UC-56's answer. <see cref="Id" /> is the application's <c>PublicId</c> — the one the caller |
| | | 7 | | /// sent — and the audit target. |
| | | 8 | | /// </summary> |
| | | 9 | | public class IssueApplicationTokenCommandOutput : CommandOutput |
| | | 10 | | { |
| | 47 | 11 | | public Guid Id { get; set; } |
| | | 12 | | |
| | | 13 | | /// <summary>The application token, valid until <see cref="ExpiresAt" />.</summary> |
| | 69 | 14 | | public string Token { get; set; } = string.Empty; |
| | | 15 | | |
| | 36 | 16 | | public DateTime ExpiresAt { get; set; } |
| | | 17 | | } |