| | | 1 | | using ArturRios.Heimdall.Shared.Security; |
| | | 2 | | using ArturRios.Mediator.Command; |
| | | 3 | | |
| | | 4 | | namespace ArturRios.Heimdall.Command.Input; |
| | | 5 | | |
| | | 6 | | /// <summary> |
| | | 7 | | /// Intent to reissue an email verification link for the caller's own address (UC-15, FR-EV-04). |
| | | 8 | | /// Carries nothing but <see cref="ActingPersonId" />/<see cref="ActingRole" />, which the |
| | | 9 | | /// controller sets from the authenticated caller and never binds from the request. |
| | | 10 | | /// </summary> |
| | | 11 | | /// <remarks> |
| | | 12 | | /// The absence of any other field is the authorization rule. An email or a person id in the body |
| | | 13 | | /// would be a way to ask for somebody else's verification link, and UC-15 describes a person |
| | | 14 | | /// requesting their own. |
| | | 15 | | /// </remarks> |
| | | 16 | | public class ResendVerificationEmailCommand : BaseCommand, IActorScoped |
| | | 17 | | { |
| | 104 | 18 | | public Guid ActingPersonId { get; set; } |
| | | 19 | | |
| | 52 | 20 | | public int ActingRole { get; set; } |
| | | 21 | | } |