| | | 1 | | using ArturRios.Heimdall.Shared.Security; |
| | | 2 | | using ArturRios.Mediator.Command; |
| | | 3 | | |
| | | 4 | | namespace ArturRios.Heimdall.Command.Input; |
| | | 5 | | |
| | | 6 | | /// <summary> |
| | | 7 | | /// Intent to discard a self-registration that is awaiting confirmation (UC-50, FR-SR-12). Both |
| | | 8 | | /// identifiers come from the route; <see cref="ActingPersonId" />/<see cref="ActingRole" /> are set |
| | | 9 | | /// by the controller from the authenticated caller. There is no body. |
| | | 10 | | /// </summary> |
| | | 11 | | public class DiscardPendingRegistrationCommand : BaseCommand, IActorScoped |
| | | 12 | | { |
| | | 13 | | /// <summary>Public id of the scope the registration belongs to.</summary> |
| | 30 | 14 | | public Guid ScopeId { get; set; } |
| | | 15 | | |
| | | 16 | | /// <summary>Public id of the pending registration (UC-49's <c>id</c>).</summary> |
| | 25 | 17 | | public Guid RegistrationId { get; set; } |
| | | 18 | | |
| | 27 | 19 | | public Guid ActingPersonId { get; set; } |
| | | 20 | | |
| | 27 | 21 | | public int ActingRole { get; set; } |
| | | 22 | | } |