< Summary

Information
Class: Elsa.Identity.Endpoints.Applications.Create.Request
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: 2
Coverable lines: 2
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_Name()100%210%
get_Roles()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{
 05    public string Name { get; set; } = null!;
 06    public ICollection<string>? Roles { get; set; }
 7}
 8
 9internal record Response(
 10    string Id,
 11    string Name,
 12    ICollection<string> Roles,
 13    string ClientId,
 14    string ClientSecret,
 15    string ApiKey,
 16    string HashedApiKey,
 17    string HashedApiKeySalt,
 18    string HashedClientSecret,
 19    string HashedClientSecretSalt
 20);

Methods/Properties

get_Name()
get_Roles()