Back to Node Auth0

Class CaptchaClient

docs/classes/management.SDK.CaptchaClient.html

5.9.13.8 KB
Original Source

Class CaptchaClient

Index

Constructors

constructor

Methods

getupdate

Properties

_options

Constructors

constructor

new CaptchaClient(options: BaseClientOptions): CaptchaClient

Parameters

Returns CaptchaClient

Methods

get

get(
requestOptions?: CaptchaClient.RequestOptions,
): HttpResponsePromise<GetAttackProtectionCaptchaResponseContent>

Get the CAPTCHA configuration for your client.

Parameters

Request-specific configuration.

Returns HttpResponsePromise<GetAttackProtectionCaptchaResponseContent>

Throws

Management.UnauthorizedError

Throws

Management.ForbiddenError

Throws

Management.NotFoundError

Throws

Management.TooManyRequestsError

Example

await client.attackProtection.captcha.get()Copy

update

update(
request?: UpdateAttackProtectionCaptchaRequestContent,
requestOptions?: CaptchaClient.RequestOptions,
): HttpResponsePromise<UpdateAttackProtectionCaptchaResponseContent>

Update existing CAPTCHA configuration for your client.

Parameters

Request-specific configuration.

Returns HttpResponsePromise<UpdateAttackProtectionCaptchaResponseContent>

Throws

Management.UnauthorizedError

Throws

Management.ForbiddenError

Throws

Management.NotFoundError

Throws

Management.TooManyRequestsError

Example

await client.attackProtection.captcha.update()Copy

Properties

Protected Readonly_options

_options: NormalizedClientOptionsWithAuth<BaseClientOptions>

Settings

Member Visibility

  • Protected
  • Inherited

ThemeOSLightDark

On This Page

Constructors constructor Methods getupdate Properties _options