Interface IAttackProtectionClient
- Namespace
- Auth0.ManagementApi.Clients
- Assembly
- Auth0.ManagementApi.dll
public interface IAttackProtectionClient
Methods
GetBreachedPasswordDetectionAsync(CancellationToken)
Get breached password detection settings.
Task<BreachedPasswordDetection> GetBreachedPasswordDetectionAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenThe cancellation token to cancel operation.
Returns
- Task<BreachedPasswordDetection>
A BreachedPasswordDetection containing the configuration.
GetBruteForceProtectionAsync(CancellationToken)
Get the brute force configuration.
Task<BruteForceProtection> GetBruteForceProtectionAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenThe cancellation token to cancel operation.
Returns
- Task<BruteForceProtection>
A BruteForceProtection containing the configuration.
GetSuspiciousIpThrottlingAsync(CancellationToken)
Get the suspicious IP throttling configuration.
Task<SuspiciousIpThrottling> GetSuspiciousIpThrottlingAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenThe cancellation token to cancel operation.
Returns
- Task<SuspiciousIpThrottling>
A SuspiciousIpThrottling containing the configuration.
UpdateBreachedPasswordDetectionAsync(BreachedPasswordDetection, CancellationToken)
Update breached password detection settings.
Task<BreachedPasswordDetection> UpdateBreachedPasswordDetectionAsync(BreachedPasswordDetection request, CancellationToken cancellationToken = default)
Parameters
request
BreachedPasswordDetectionSpecifies criteria to use when updating the configuration.
cancellationToken
CancellationTokenThe cancellation token to cancel operation.
Returns
- Task<BreachedPasswordDetection>
The BreachedPasswordDetection that was updated.
UpdateBruteForceProtectionAsync(BruteForceProtection, CancellationToken)
Update the brute force configuration.
Task<BruteForceProtection> UpdateBruteForceProtectionAsync(BruteForceProtection request, CancellationToken cancellationToken = default)
Parameters
request
BruteForceProtectionSpecifies criteria to use when updating the configuration.
cancellationToken
CancellationTokenThe cancellation token to cancel operation.
Returns
- Task<BruteForceProtection>
The BruteForceProtection that was updated.
UpdateSuspiciousIpThrottlingAsync(SuspiciousIpThrottling, CancellationToken)
Update the suspicious IP throttling configuration.
Task<SuspiciousIpThrottling> UpdateSuspiciousIpThrottlingAsync(SuspiciousIpThrottling request, CancellationToken cancellationToken = default)
Parameters
request
SuspiciousIpThrottlingSpecifies criteria to use when updating the configuration.
cancellationToken
CancellationTokenThe cancellation token to cancel operation.
Returns
- Task<SuspiciousIpThrottling>
The SuspiciousIpThrottling that was updated.