< Summary - Heimdall API

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

Metrics

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

File(s)

/home/runner/work/heimdall-api/heimdall-api/src/Application/ArturRios.Heimdall.Command/Output/RegenerateRecoveryCodesCommandOutput.cs

#LineLine coverage
 1using ArturRios.Mediator.Command;
 2
 3namespace ArturRios.Heimdall.Command.Output;
 4
 5/// <summary>
 6///     The result of regenerating recovery codes (UC-40). The ten new codes are returned in
 7///     plaintext this one time only — like <see cref="ConfirmTwoFactorAuthCommandOutput" />'s, they
 8///     are stored thereafter only as hashes and cannot be retrieved again, only regenerated once more.
 9/// </summary>
 10public class RegenerateRecoveryCodesCommandOutput : CommandOutput
 11{
 12    /// <summary>The ten freshly generated recovery codes, in plaintext (FR-2F-12).</summary>
 4813    public List<string> RecoveryCodes { get; set; } = [];
 14}

Methods/Properties

get_RecoveryCodes()