| | | 1 | | using ArturRios.Mediator.Command; |
| | | 2 | | |
| | | 3 | | namespace ArturRios.Heimdall.Command.Input; |
| | | 4 | | |
| | | 5 | | /// <summary> |
| | | 6 | | /// Exchanges an application's secret for an application token (UC-56, FR-AP-13). Anonymous: the |
| | | 7 | | /// secret is the credential. All three fields must name one live credential of one live |
| | | 8 | | /// application in one live scope. |
| | | 9 | | /// </summary> |
| | | 10 | | public class IssueApplicationTokenCommand : BaseCommand |
| | | 11 | | { |
| | | 12 | | /// <summary>The application's <c>PublicId</c>.</summary> |
| | 128 | 13 | | public Guid ApplicationId { get; set; } |
| | | 14 | | |
| | | 15 | | /// <summary>The <c>PublicId</c> of the application's scope.</summary> |
| | 123 | 16 | | public Guid ScopeId { get; set; } |
| | | 17 | | |
| | | 18 | | /// <summary>A secret UC-53 issued for that application.</summary> |
| | 195 | 19 | | public string Secret { get; set; } = string.Empty; |
| | | 20 | | } |