< Summary - Heimdall API

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

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_ApplicationId()100%11100%
get_Name()100%11100%
get_ScopeId()100%11100%
get_CredentialId()100%11100%
get_ExpiresAt()100%11100%

File(s)

/home/runner/work/heimdall-api/heimdall-api/src/Application/ArturRios.Heimdall.Query/Output/ApplicationTokenCheckOutput.cs

#LineLine coverage
 1using ArturRios.Mediator.Query;
 2
 3namespace ArturRios.Heimdall.Query.Output;
 4
 5/// <summary>UC-57's answer: the application the token stands for, as it is now.</summary>
 6public class ApplicationTokenCheckOutput : QueryOutput
 7{
 148    public Guid ApplicationId { get; set; }
 9
 10    /// <summary>The application's current name, which may differ from the token's <c>name</c> claim after a rename.</su
 2211    public string Name { get; set; } = string.Empty;
 12
 1413    public Guid ScopeId { get; set; }
 14
 1515    public Guid CredentialId { get; set; }
 16
 17    /// <summary>When the presented token expires.</summary>
 1318    public DateTime ExpiresAt { get; set; }
 19}