< 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: 3
Coverable lines: 3
Total lines: 14
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
 010internal class Response(string hashedSecret, string salt)
 11{
 012    public string HashedSecret { get; set; } = hashedSecret;
 013    public string Salt { get; set; } = salt;
 14}