Table of Contents

Class BotDetectionClient

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

Methods

GetAsync(RequestOptions?, CancellationToken)

Get the Bot Detection configuration of your tenant.

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

Parameters

options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<GetBotDetectionSettingsResponseContent>

Examples

await client.AttackProtection.BotDetection.GetAsync();

UpdateAsync(UpdateBotDetectionSettingsRequestContent, RequestOptions?, CancellationToken)

Update the Bot Detection configuration of your tenant.

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

Parameters

request UpdateBotDetectionSettingsRequestContent
options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<UpdateBotDetectionSettingsResponseContent>

Examples

await client.AttackProtection.BotDetection.UpdateAsync(
    new UpdateBotDetectionSettingsRequestContent()
);