< Summary

Information
Class: Elsa.Connections.Models.ConnectionCredentialUseGrant
Assembly: Elsa.Connections
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Connections/Models/ConnectionCredentialUseGrant.cs
Line coverage
100%
Covered lines: 11
Uncovered lines: 0
Coverable lines: 11
Total lines: 20
Line coverage: 100%
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_TenantId()100%11100%
get_EnvironmentId()100%11100%
get_WorkflowInstanceId()100%11100%
get_LogicalBindingId()100%11100%
get_ConnectionId()100%11100%
get_BindingRevision()100%11100%
get_Revision()100%11100%
get_IsActive()100%11100%
get_IssuedByActorId()100%11100%
get_IssuedAt()100%11100%
get_WithdrawnAt()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Connections/Models/ConnectionCredentialUseGrant.cs

#LineLine coverage
 1namespace Elsa.Connections.Models;
 2
 3/// <summary>
 4/// Authorizes one workflow instance to use one revision of a logical connection binding.
 5/// It contains no secret material and is not a substitute for the connection lifecycle status check.
 6/// </summary>
 7public sealed class ConnectionCredentialUseGrant
 8{
 369    public string TenantId { get; set; } = null!;
 3610    public string EnvironmentId { get; set; } = null!;
 3611    public string WorkflowInstanceId { get; set; } = null!;
 3612    public string LogicalBindingId { get; set; } = null!;
 5313    public string ConnectionId { get; set; } = null!;
 5214    public long BindingRevision { get; set; }
 11715    public long Revision { get; set; } = 1;
 11516    public bool IsActive { get; set; } = true;
 3817    public string IssuedByActorId { get; set; } = null!;
 3618    public DateTimeOffset IssuedAt { get; set; }
 1119    public DateTimeOffset? WithdrawnAt { get; set; }
 20}