Class BlocksClient
- Namespace
- Auth0.ManagementApi.Anomaly
- Assembly
- Auth0.ManagementApi.dll
public class BlocksClient : IBlocksClient
- Inheritance
-
BlocksClient
- Implements
- Inherited Members
- Extension Methods
Methods
CheckIpAsync(string, RequestOptions?, CancellationToken)
Check if the given IP address is blocked via the Suspicious IP Throttling due to multiple suspicious attempts.
public Task CheckIpAsync(string id, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
idstringoptionsRequestOptionscancellationTokenCancellationToken
Returns
Examples
await client.Anomaly.Blocks.CheckIpAsync("id");
UnblockIpAsync(string, RequestOptions?, CancellationToken)
Remove a block imposed by Suspicious IP Throttling for the given IP address.
public Task UnblockIpAsync(string id, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
idstringoptionsRequestOptionscancellationTokenCancellationToken
Returns
Examples
await client.Anomaly.Blocks.UnblockIpAsync("id");