< Summary

Information
Class: ArturRios.Util.WebApi.Security.Records.TokenValidationResult
Assembly: ArturRios.Util.WebApi
File(s): D:\Repositories\dotnet-webapi-util\src\Security\Records\TokenValidationResult.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 6
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_User()100%11100%

File(s)

D:\Repositories\dotnet-webapi-util\src\Security\Records\TokenValidationResult.cs

#LineLine coverage
 1namespace ArturRios.Util.WebApi.Security.Records;
 2
 3/// <summary>The outcome of an <c>ITokenValidator</c> attempt: a resolved user, or an error describing why validation fa
 4/// <param name="User">The authenticated user when validation succeeded; otherwise <see langword="null"/>.</param>
 5/// <param name="Error">A human-readable error when <paramref name="User"/> is <see langword="null"/>; otherwise <see la
 296public readonly record struct TokenValidationResult(AuthenticatedUser? User, string? Error);

Methods/Properties

get_User()