Table of Contents

Interface ICaptchaPoliciesClient

Namespace
Auth0.ManagementApi.AttackProtection
Assembly
Auth0.ManagementApi.dll
public interface ICaptchaPoliciesClient
Extension Methods

Methods

CreateAsync(CreateAttackProtectionCaptchaPolicyRequestContent, RequestOptions?, CancellationToken)

Create a new CAPTCHA attack protection policy for the tenant. The maximum number of policies per tenant is determined by the tenant's subscription.

WithRawResponseTask<AttackProtectionCaptchaPolicy> CreateAsync(CreateAttackProtectionCaptchaPolicyRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

request CreateAttackProtectionCaptchaPolicyRequestContent
options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<AttackProtectionCaptchaPolicy>

DeleteAsync(string, RequestOptions?, CancellationToken)

Delete a CAPTCHA attack protection policy for the tenant.

WithRawResponseTask DeleteAsync(string id, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

id string
options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask

GetAsync(string, RequestOptions?, CancellationToken)

Retrieve a single CAPTCHA attack protection policy for the tenant by ID.

WithRawResponseTask<AttackProtectionCaptchaPolicy> GetAsync(string id, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

id string
options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<AttackProtectionCaptchaPolicy>

ListAsync(RequestOptions?, CancellationToken)

Retrieve all CAPTCHA attack protection policies for the tenant, sorted by priority ascending.

WithRawResponseTask<IEnumerable<AttackProtectionCaptchaPolicy>> ListAsync(RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<IEnumerable<AttackProtectionCaptchaPolicy>>

UpdateAsync(string, UpdateAttackProtectionCaptchaPolicyRequestContent, RequestOptions?, CancellationToken)

Partially update a CAPTCHA attack protection policy. Only the provided fields are modified. A provided match or action replaces the stored value in full rather than merging with it; within action, a provider secret or API key that is omitted from a provided provider block keeps its stored value.

WithRawResponseTask<AttackProtectionCaptchaPolicy> UpdateAsync(string id, UpdateAttackProtectionCaptchaPolicyRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

id string
request UpdateAttackProtectionCaptchaPolicyRequestContent
options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<AttackProtectionCaptchaPolicy>