< Summary

Information
Class: Elsa.Identity.Endpoints.Secrets.Hash.Response
Assembly: Elsa.Identity
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Identity/Endpoints/Secrets/Hash/Models.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 6
Coverable lines: 6
Total lines: 20
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%210%
get_HashedSecret()100%210%
get_Salt()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Identity/Endpoints/Secrets/Hash/Models.cs

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2
 3namespace Elsa.Identity.Endpoints.Secrets.Hash;
 4
 5internal class Request
 6{
 7    [Required] public string Secret { get; set; } = null!;
 8}
 9
 10internal class Response
 11{
 012    public Response(string hashedSecret, string salt)
 13    {
 014        HashedSecret = hashedSecret;
 015        Salt = salt;
 016    }
 17
 018    public string HashedSecret { get; set; }
 019    public string Salt { get; set; }
 20}