Table of Contents

Class AttackProtectionClient

Namespace
Auth0.ManagementApi.Clients
Assembly
Auth0.ManagementApi.dll
public class AttackProtectionClient : BaseClient, IAttackProtectionClient
Inheritance
AttackProtectionClient
Implements
Inherited Members

Constructors

AttackProtectionClient(IManagementConnection, Uri, IDictionary<string, string>)

public AttackProtectionClient(IManagementConnection connection, Uri baseUri, IDictionary<string, string> defaultHeaders)

Parameters

connection IManagementConnection
baseUri Uri
defaultHeaders IDictionary<string, string>

Methods

GetBreachedPasswordDetectionAsync(CancellationToken)

Get breached password detection settings.

public Task<BreachedPasswordDetection> GetBreachedPasswordDetectionAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

The cancellation token to cancel operation.

Returns

Task<BreachedPasswordDetection>

A BreachedPasswordDetection containing the configuration.

GetBruteForceProtectionAsync(CancellationToken)

Get the brute force configuration.

public Task<BruteForceProtection> GetBruteForceProtectionAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

The cancellation token to cancel operation.

Returns

Task<BruteForceProtection>

A BruteForceProtection containing the configuration.

GetSuspiciousIpThrottlingAsync(CancellationToken)

Get the suspicious IP throttling configuration.

public Task<SuspiciousIpThrottling> GetSuspiciousIpThrottlingAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

The cancellation token to cancel operation.

Returns

Task<SuspiciousIpThrottling>

A SuspiciousIpThrottling containing the configuration.

UpdateBreachedPasswordDetectionAsync(BreachedPasswordDetection, CancellationToken)

Update breached password detection settings.

public Task<BreachedPasswordDetection> UpdateBreachedPasswordDetectionAsync(BreachedPasswordDetection request, CancellationToken cancellationToken = default)

Parameters

request BreachedPasswordDetection

Specifies criteria to use when updating the configuration.

cancellationToken CancellationToken

The cancellation token to cancel operation.

Returns

Task<BreachedPasswordDetection>

The BreachedPasswordDetection that was updated.

UpdateBruteForceProtectionAsync(BruteForceProtection, CancellationToken)

Update the brute force configuration.

public Task<BruteForceProtection> UpdateBruteForceProtectionAsync(BruteForceProtection request, CancellationToken cancellationToken = default)

Parameters

request BruteForceProtection

Specifies criteria to use when updating the configuration.

cancellationToken CancellationToken

The cancellation token to cancel operation.

Returns

Task<BruteForceProtection>

The BruteForceProtection that was updated.

UpdateSuspiciousIpThrottlingAsync(SuspiciousIpThrottling, CancellationToken)

Update the suspicious IP throttling configuration.

public Task<SuspiciousIpThrottling> UpdateSuspiciousIpThrottlingAsync(SuspiciousIpThrottling request, CancellationToken cancellationToken = default)

Parameters

request SuspiciousIpThrottling

Specifies criteria to use when updating the configuration.

cancellationToken CancellationToken

The cancellation token to cancel operation.

Returns

Task<SuspiciousIpThrottling>

The SuspiciousIpThrottling that was updated.