< Summary - Heimdall API

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

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Id()100%11100%
get_Secret()100%11100%
get_CreatedAt()100%11100%
get_ExpiresAt()100%11100%

File(s)

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

#LineLine coverage
 1using ArturRios.Mediator.Command;
 2
 3namespace ArturRios.Heimdall.Command.Output;
 4
 5/// <summary>
 6///     UC-53's answer. <see cref="Secret" /> appears here and nowhere else, ever; <see cref="Id" />
 7///     is the credential's <c>PublicId</c> and the audit target.
 8/// </summary>
 9public class IssueApplicationCredentialCommandOutput : CommandOutput
 10{
 4011    public Guid Id { get; set; }
 12
 4913    public string Secret { get; set; } = string.Empty;
 14
 2715    public DateTime CreatedAt { get; set; }
 16
 2917    public DateTime? ExpiresAt { get; set; }
 18}