< Summary

Information
Class: Elsa.Api.Client.Resources.ExternalAuthentication.Connections.Requests.ListExternalAuthenticationConnectionsRequest
Assembly: Elsa.Api.Client
File(s): /home/runner/work/elsa-core/elsa-core/src/clients/Elsa.Api.Client/Resources/ExternalAuthentication/Connections/Requests/ExternalAuthenticationConnectionRequests.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 11
Coverable lines: 11
Total lines: 46
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_Search()100%210%
get_Source()100%210%
get_Scope()100%210%
get_TenantId()100%210%
get_AdapterType()100%210%
get_Enabled()100%210%
get_Valid()100%210%
get_Shadowed()100%210%
get_Archived()100%210%
get_Cursor()100%210%
get_PageSize()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/clients/Elsa.Api.Client/Resources/ExternalAuthentication/Connections/Requests/ExternalAuthenticationConnectionRequests.cs

#LineLine coverage
 1using System.Text.Json;
 2using Elsa.Api.Client.Resources.ExternalAuthentication.Connections.Models;
 3
 4namespace Elsa.Api.Client.Resources.ExternalAuthentication.Connections.Requests;
 5
 6public sealed class ListExternalAuthenticationConnectionsRequest
 7{
 08    public string? Search { get; set; }
 09    public string? Source { get; set; }
 010    public string? Scope { get; set; }
 011    public string? TenantId { get; set; }
 012    public string? AdapterType { get; set; }
 013    public bool? Enabled { get; set; }
 014    public bool? Valid { get; set; }
 015    public bool? Shadowed { get; set; }
 016    public bool? Archived { get; set; }
 017    public string? Cursor { get; set; }
 018    public int PageSize { get; set; } = 100;
 19}
 20
 21public sealed class SaveExternalAuthenticationConnectionRequest
 22{
 23    public string Key { get; set; } = "";
 24    public ExternalAuthenticationConnectionScope Scope { get; set; } = new();
 25    public string AdapterType { get; set; } = "";
 26    public int AdapterSettingsVersion { get; set; }
 27    public JsonElement AdapterSettings { get; set; }
 28    public string DisplayName { get; set; } = "";
 29    public string? IconId { get; set; }
 30    public int Order { get; set; }
 31    public bool IsPreferred { get; set; }
 32    public bool OverridesConfigurationConnection { get; set; }
 33    public ExternalAuthenticationPolicySelection? UnlinkedPolicy { get; set; }
 34    public ICollection<ExternalAuthenticationGrantSourceSelection> PermissionGrantSources { get; set; } = [];
 35    public ExternalAuthenticationClaimProjection ClaimProjection { get; set; } = new();
 36    public string UpstreamLogoutMode { get; set; } = "disabled";
 37    public bool ConfirmUnsafeSettings { get; set; }
 38    public bool ConfirmFinalLoginPathOverride { get; set; }
 39}
 40
 41/// <summary>Write-only request for staging managed secret material.</summary>
 42public sealed class SaveManagedExternalAuthenticationSecretRequest
 43{
 44    public string ResolverType { get; set; } = "";
 45    public string Value { get; set; } = "";
 46}