< Summary

Information
Class: ArturRios.Util.WebApi.Security.Records.Authentication
Assembly: ArturRios.Util.WebApi
File(s): D:\Repositories\dotnet-webapi-util\src\Security\Records\Authentication.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 8
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage
0%
Covered methods: 0
Fully covered methods: 0
Total methods: 1
Method coverage: 0%
Full method coverage: 0%

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Token()100%210%

File(s)

D:\Repositories\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>
 08public record Authentication(string? Token, bool Valid, string CreatedAt, string Expiration);

Methods/Properties

get_Token()