< Summary

Information
Class: Elsa.Identity.Endpoints.Secrets.Hash.Request
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: 1
Coverable lines: 1
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
get_Secret()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{
 07    [Required] public string Secret { get; set; } = null!;
 8}
 9
 10internal class Response
 11{
 12    public Response(string hashedSecret, string salt)
 13    {
 14        HashedSecret = hashedSecret;
 15        Salt = salt;
 16    }
 17
 18    public string HashedSecret { get; set; }
 19    public string Salt { get; set; }
 20}

Methods/Properties

get_Secret()