< Summary - Heimdall API

Information
Class: ArturRios.Heimdall.Command.Output.DisableTwoFactorAuthCommandOutput
Assembly: ArturRios.Heimdall.Command
File(s): /home/runner/work/heimdall-api/heimdall-api/src/Application/ArturRios.Heimdall.Command/Output/DisableTwoFactorAuthCommandOutput.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_Disabled()100%11100%

File(s)

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

#LineLine coverage
 1using ArturRios.Mediator.Command;
 2
 3namespace ArturRios.Heimdall.Command.Output;
 4
 5/// <summary>
 6///     The result of disabling two-factor authentication (UC-39). Nothing else to report — the
 7///     <c>TWO_FACTOR_AUTH</c> row and its recovery codes are gone, and the person's own identifier is
 8///     already implicit in the bearer token that authorized the request.
 9/// </summary>
 10public class DisableTwoFactorAuthCommandOutput : CommandOutput
 11{
 12    /// <summary>Always <c>true</c> when this output is returned — disabling only ever succeeds fully.</summary>
 2313    public bool Disabled { get; set; }
 14}

Methods/Properties

get_Disabled()