< Summary

Information
Class: ArturRios.Util.WebApi.Security.Records.Authentication
Assembly: ArturRios.Util.WebApi
File(s): /home/runner/work/dotnet-webapi-util/dotnet-webapi-util/src/Security/Records/Authentication.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 8
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_Token()100%11100%

File(s)

/home/runner/work/dotnet-webapi-util/dotnet-webapi-util/src/Security/Records/Authentication.cs

#LineLine coverage
 1namespace ArturRios.Util.WebApi.Security.Records;
 2
 3/// <summary>The result of an authentication attempt, as returned by a web API's authentication route.</summary>
 4/// <param name="Token">The issued JWT, or <c>null</c> if authentication failed.</param>
 5/// <param name="Valid">Whether the authentication attempt succeeded.</param>
 6/// <param name="CreatedAt">When the token was issued.</param>
 7/// <param name="Expiration">When the token expires.</param>
 68public record Authentication(string? Token, bool Valid, string CreatedAt, string Expiration);

Methods/Properties

get_Token()