< Summary

Information
Class: ArturRios.Jwt.JwtConfiguration
Assembly: ArturRios.Jwt
File(s): D:\Repositories\dotnet-jwt\src\JwtConfiguration.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 17
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage
100%
Covered methods: 2
Fully covered methods: 2
Total methods: 2
Method coverage: 100%
Full method coverage: 100%

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_ExpirationInSeconds()100%11100%
.ctor()100%11100%

File(s)

D:\Repositories\dotnet-jwt\src\JwtConfiguration.cs

#LineLine coverage
 1namespace ArturRios.Jwt;
 2
 3/// <summary>
 4/// Configuration used to create and validate JSON Web Tokens.
 5/// </summary>
 6/// <param name="ExpirationInSeconds">The number of seconds after creation for which the token remains valid.</param>
 7/// <param name="Issuer">The party that issues the token.</param>
 8/// <param name="Audience">The intended recipient of the token.</param>
 9/// <param name="Secret">The secret key used to sign and validate the token.</param>
 10/// <param name="Claims">The claims, as key/value pairs, to embed in the token.</param>
 9911public record JwtConfiguration(double ExpirationInSeconds, string Issuer, string Audience, string Secret, Dictionary<str
 12{
 13    /// <summary>
 14    /// Initializes a new instance of the <see cref="JwtConfiguration"/> record with empty default values.
 15    /// </summary>
 316    public JwtConfiguration() : this(0, string.Empty, string.Empty, string.Empty, new Dictionary<string, string>()) { }
 17}

Methods/Properties

get_ExpirationInSeconds()
.ctor()