< Summary

Information
Class: Elsa.Api.Client.Resources.ExternalAuthentication.Connections.Requests.SaveManagedExternalAuthenticationSecretRequest
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: 2
Coverable lines: 2
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_ResolverType()100%210%
get_Value()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{
 8    public string? Search { get; set; }
 9    public string? Source { get; set; }
 10    public string? Scope { get; set; }
 11    public string? TenantId { get; set; }
 12    public string? AdapterType { get; set; }
 13    public bool? Enabled { get; set; }
 14    public bool? Valid { get; set; }
 15    public bool? Shadowed { get; set; }
 16    public bool? Archived { get; set; }
 17    public string? Cursor { get; set; }
 18    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{
 044    public string ResolverType { get; set; } = "";
 045    public string Value { get; set; } = "";
 46}

Methods/Properties

get_ResolverType()
get_Value()