< Summary - Heimdall API

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

File(s)

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

#LineLine coverage
 1using ArturRios.Mediator.Command;
 2
 3namespace ArturRios.Heimdall.Command.Input;
 4
 5/// <summary>
 6///     Intent to replace a password using the token UC-12 mailed out (UC-13, FR-PR-03). Carries no
 7///     email and no scope id: the token identifies the person on its own, which is why UC-12 made it
 8///     long and random.
 9/// </summary>
 10public class ResetPasswordCommand : BaseCommand
 11{
 12    /// <summary>The reset token, exactly as it was issued.</summary>
 31813    public string Token { get; set; } = string.Empty;
 14
 15    /// <summary>The password to set.</summary>
 29216    public string NewPassword { get; set; } = string.Empty;
 17}

Methods/Properties

get_Token()
get_NewPassword()