Table of Contents

Class CaptchaClient

Namespace
Auth0.ManagementApi.AttackProtection
Assembly
Auth0.ManagementApi.dll
public class CaptchaClient : ICaptchaClient
Inheritance
CaptchaClient
Implements
Inherited Members
Extension Methods

Methods

GetAsync(RequestOptions?, CancellationToken)

Get the CAPTCHA configuration for your client.

public WithRawResponseTask<GetAttackProtectionCaptchaResponseContent> GetAsync(RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<GetAttackProtectionCaptchaResponseContent>

Examples

await client.AttackProtection.Captcha.GetAsync();

UpdateAsync(UpdateAttackProtectionCaptchaRequestContent, RequestOptions?, CancellationToken)

Update existing CAPTCHA configuration for your client.

public WithRawResponseTask<UpdateAttackProtectionCaptchaResponseContent> UpdateAsync(UpdateAttackProtectionCaptchaRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

request UpdateAttackProtectionCaptchaRequestContent
options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<UpdateAttackProtectionCaptchaResponseContent>

Examples

await client.AttackProtection.Captcha.UpdateAsync(
    new UpdateAttackProtectionCaptchaRequestContent()
);