| | | 1 | | using ArturRios.Mediator.Query; |
| | | 2 | | |
| | | 3 | | namespace ArturRios.Heimdall.Query.Output; |
| | | 4 | | |
| | | 5 | | /// <summary>UC-57's answer: the application the token stands for, as it is now.</summary> |
| | | 6 | | public class ApplicationTokenCheckOutput : QueryOutput |
| | | 7 | | { |
| | 14 | 8 | | public Guid ApplicationId { get; set; } |
| | | 9 | | |
| | | 10 | | /// <summary>The application's current name, which may differ from the token's <c>name</c> claim after a rename.</su |
| | 22 | 11 | | public string Name { get; set; } = string.Empty; |
| | | 12 | | |
| | 14 | 13 | | public Guid ScopeId { get; set; } |
| | | 14 | | |
| | 15 | 15 | | public Guid CredentialId { get; set; } |
| | | 16 | | |
| | | 17 | | /// <summary>When the presented token expires.</summary> |
| | 13 | 18 | | public DateTime ExpiresAt { get; set; } |
| | | 19 | | } |