< Summary

Information
Class: Elsa.Identity.Endpoints.Applications.Create.Response
Assembly: Elsa.Identity
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Identity/Endpoints/Applications/Create/Models.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 12
Coverable lines: 12
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_Id()100%210%
get_Name()100%210%
get_Roles()100%210%
get_ClientId()100%210%
get_ClientSecret()100%210%
get_ApiKey()100%210%
get_HashedApiKey()100%210%
get_HashedApiKeySalt()100%210%
get_HashedClientSecret()100%210%
get_HashedClientSecretSalt()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Identity/Endpoints/Applications/Create/Models.cs

#LineLine coverage
 1namespace Elsa.Identity.Endpoints.Applications.Create;
 2
 3internal class Request
 4{
 5    public string Name { get; set; } = null!;
 6    public ICollection<string>? Roles { get; set; }
 7}
 8
 09internal record Response(
 010    string Id,
 011    string Name,
 012    ICollection<string> Roles,
 013    string ClientId,
 014    string ClientSecret,
 015    string ApiKey,
 016    string HashedApiKey,
 017    string HashedApiKeySalt,
 018    string HashedClientSecret,
 019    string HashedClientSecretSalt
 020);