< Summary - Heimdall API

Information
Class: ArturRios.Heimdall.Command.Input.ResendVerificationEmailCommand
Assembly: ArturRios.Heimdall.Command
File(s): /home/runner/work/heimdall-api/heimdall-api/src/Application/ArturRios.Heimdall.Command/Input/ResendVerificationEmailCommand.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 21
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage
100%
Covered methods: 2
Fully covered methods: 2
Total methods: 2
Method coverage: 100%
Full method coverage: 100%

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_ActingPersonId()100%11100%
get_ActingRole()100%11100%

File(s)

/home/runner/work/heimdall-api/heimdall-api/src/Application/ArturRios.Heimdall.Command/Input/ResendVerificationEmailCommand.cs

#LineLine coverage
 1using ArturRios.Heimdall.Shared.Security;
 2using ArturRios.Mediator.Command;
 3
 4namespace 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>
 16public class ResendVerificationEmailCommand : BaseCommand, IActorScoped
 17{
 10418    public Guid ActingPersonId { get; set; }
 19
 5220    public int ActingRole { get; set; }
 21}