< Summary - Heimdall API

Information
Class: ArturRios.Heimdall.Command.Input.VerifyEmailCommand
Assembly: ArturRios.Heimdall.Command
File(s): /home/runner/work/heimdall-api/heimdall-api/src/Application/ArturRios.Heimdall.Command/Input/VerifyEmailCommand.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 20
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_Token()100%11100%
get_Password()100%11100%

File(s)

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

#LineLine coverage
 1using ArturRios.Mediator.Command;
 2
 3namespace ArturRios.Heimdall.Command.Input;
 4
 5/// <summary>
 6///     Intent to confirm an email address using the token UC-06 mailed out (UC-14, FR-EV-03). Carries
 7///     no email and no scope: the token identifies the person on its own, which is why it is 48
 8///     random characters long.
 9/// </summary>
 10public class VerifyEmailCommand : BaseCommand
 11{
 12    /// <summary>The verification token, exactly as it was issued.</summary>
 70813    public string Token { get; set; } = string.Empty;
 14
 15    /// <summary>
 16    ///     The password chosen at sign-up, required only when <see cref="Token" /> belongs to a UC-47
 17    ///     pending registration (spec §4.3a) and ignored for an ordinary verification token.
 18    /// </summary>
 22219    public string? Password { get; set; }
 20}

Methods/Properties

get_Token()
get_Password()