| | | 1 | | using System.Text.Json.Serialization; |
| | | 2 | | using ArturRios.Heimdall.Shared.Security; |
| | | 3 | | using ArturRios.Mediator.Query; |
| | | 4 | | |
| | | 5 | | namespace ArturRios.Heimdall.Query.Input; |
| | | 6 | | |
| | | 7 | | /// <summary> |
| | | 8 | | /// Request to list a scope's self-registrations awaiting confirmation (UC-49, FR-SR-11), newest |
| | | 9 | | /// first. <see cref="ScopeId" /> comes from the route and the actor from the bearer token; none of |
| | | 10 | | /// the three is bound from the query string. |
| | | 11 | | /// </summary> |
| | | 12 | | public class ListPendingRegistrationsQuery : BaseQuery, IActorScoped |
| | | 13 | | { |
| | | 14 | | /// <summary>Public id of the scope whose registrations are listed (from the route).</summary> |
| | | 15 | | [JsonIgnore] |
| | 39 | 16 | | public Guid ScopeId { get; set; } |
| | | 17 | | |
| | | 18 | | [JsonIgnore] |
| | 35 | 19 | | public Guid ActingPersonId { get; set; } |
| | | 20 | | |
| | | 21 | | [JsonIgnore] |
| | 35 | 22 | | public int ActingRole { get; set; } |
| | | 23 | | } |