Class AttackProtectionClient
- Namespace
- Auth0.Management
Api .Clients
- Assembly
- Auth0.ManagementApi.dll
- Inheritance
-
Attack
Protection Client
- Implements
- Inherited Members
Constructors
AttackProtectionClient(IManagementConnection, Uri, IDictionary<string, string>)
public AttackProtectionClient(IManagementConnection connection, Uri baseUri, IDictionary<string, string> defaultHeaders)
Parameters
connection
IManagementConnection baseUri
UridefaultHeaders
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<Breached
Password >Detection A Breached
Password containing the configuration.Detection
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<Brute
Force >Protection A Brute
Force containing the configuration.Protection
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<Suspicious
IpThrottling > A Suspicious
IpThrottling containing the configuration.
UpdateBreachedPasswordDetectionAsync(BreachedPasswordDetection, CancellationToken)
Update breached password detection settings.
public Task<BreachedPasswordDetection> UpdateBreachedPasswordDetectionAsync(BreachedPasswordDetection request, CancellationToken cancellationToken = default)
Parameters
request
BreachedPassword Detection Specifies criteria to use when updating the configuration.
cancellationToken
CancellationToken The cancellation token to cancel operation.
Returns
- Task<Breached
Password >Detection The Breached
Password that was updated.Detection
UpdateBruteForceProtectionAsync(BruteForceProtection, CancellationToken)
Update the brute force configuration.
public Task<BruteForceProtection> UpdateBruteForceProtectionAsync(BruteForceProtection request, CancellationToken cancellationToken = default)
Parameters
request
BruteForce Protection Specifies criteria to use when updating the configuration.
cancellationToken
CancellationToken The cancellation token to cancel operation.
Returns
- Task<Brute
Force >Protection The Brute
Force that was updated.Protection
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<Suspicious
IpThrottling > The Suspicious
IpThrottling that was updated.