< Summary

Information
Class: ArturRios.Util.WebApi.Security.Records.TokenValidationResult
Assembly: ArturRios.Util.WebApi
File(s): /home/runner/work/dotnet-webapi-util/dotnet-webapi-util/src/Security/Records/TokenValidationResult.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_User()100%11100%

File(s)

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

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

Methods/Properties

get_User()