< Summary

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

File(s)

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

#LineLine coverage
 1using ArturRios.Util.WebApi.Security.Interfaces;
 2
 3namespace ArturRios.Util.WebApi.Security.Records;
 4
 5/// <summary>The default <see cref="IAuthenticatedUser"/>, for apps that need nothing beyond an id and a role.
 6/// Attached to the current request after successful authentication.</summary>
 7/// <param name="Id">The user's id.</param>
 8/// <param name="RoleId">The user's role id.</param>
 1039public record AuthenticatedUser(Guid Id, int RoleId) : IAuthenticatedUser;

Methods/Properties

get_Id()