< Summary

Information
Class: Elsa.Connections.Contracts.ConnectionLifecycleScope
Assembly: Elsa.Connections
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Connections/Contracts/IConnectionLifecycleScopeProvider.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 10
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%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Connections/Contracts/IConnectionLifecycleScopeProvider.cs

#LineLine coverage
 1namespace Elsa.Connections.Contracts;
 2
 3/// <summary>Supplies the next trusted tenant and environment scope for hosted credential lifecycle work.</summary>
 4/// <remarks>Implementations must select scope from host configuration or trusted tenant infrastructure, never workflow 
 5public interface IConnectionLifecycleScopeProvider
 6{
 7    Task<ConnectionLifecycleScope?> GetNextScopeAsync(CancellationToken cancellationToken = default);
 8}
 9
 1014510public sealed record ConnectionLifecycleScope(string TenantId, string EnvironmentId);

Methods/Properties

get_TenantId()