Zum Hauptinhalt springen

VerifyCaptchaNodeConfiguration

Namespace: Meshmakers.Octo.MeshAdapter.Nodes.Transform

Configuration of VerifyCaptcha@1: verifies a CAPTCHA token with the tenant's own secret, else with the platform's secret default, and writes only { valid, source, reason } to the target path.

public record VerifyCaptchaNodeConfiguration : TargetPathNodeConfiguration, INodeConfiguration, IEquatable<NodeConfiguration>, ITargetPathNodeConfiguration, IEquatable<TargetPathNodeConfiguration>, IEquatable<VerifyCaptchaNodeConfiguration>

Inheritance Object → NodeConfiguration → TargetPathNodeConfiguration → VerifyCaptchaNodeConfiguration
Implements INodeConfiguration, IEquatable<NodeConfiguration>, ITargetPathNodeConfiguration, IEquatable<TargetPathNodeConfiguration>, IEquatable<VerifyCaptchaNodeConfiguration>

Remarks:

The secret is decrypted inside the node and never written to the data context. The provider endpoint is fixed in code and cannot be configured, so a pipeline cannot send the secret to another server.

Properties​

Provider​

The CAPTCHA provider.

public CaptchaProvider Provider { get; set; }

Property Value​

CaptchaProvider

TokenPath​

JSONPath to the token the client submitted.

public string TokenPath { get; set; }

Property Value​

String

RemoteIpPath​

Optional JSONPath to the client's IP address, passed on to the provider.

public string RemoteIpPath { get; set; }

Property Value​

String

TimeoutSeconds​

Seconds to wait for the provider before the result is verification-unavailable (1 to 60).

public int TimeoutSeconds { get; set; }

Property Value​

Int32

TenantSecret​

Optional tenant override; used when its Secret attribute is set.

public VerifyCaptchaTenantSecretConfiguration TenantSecret { get; set; }

Property Value​

VerifyCaptchaTenantSecretConfiguration

DefaultKey​

Well-known name of the System.Communication/SecretDefault used when no tenant secret is set.

public string DefaultKey { get; set; }

Property Value​

String

Identity​

Identity the tenant secret is read as: Caller (default) or ServiceAccount; System is refused. The secret default is always read by the platform itself.

public NodeExecutionIdentity Identity { get; set; }

Property Value​

NodeExecutionIdentity

TargetPath​

public string TargetPath { get; set; }

Property Value​

String

TargetValueWriteMode​

public TargetValueWriteModes TargetValueWriteMode { get; set; }

Property Value​

TargetValueWriteModes

TargetValueKind​

public ValueKinds TargetValueKind { get; set; }

Property Value​

ValueKinds

DocumentMode​

public DocumentModes DocumentMode { get; set; }

Property Value​

DocumentModes

Description​

public string Description { get; set; }

Property Value​

String

Constructors​

VerifyCaptchaNodeConfiguration()​

Caution​

Constructors of types with required members are not supported in this version of your compiler.


public VerifyCaptchaNodeConfiguration()