View Source Auth0.Management.Anomaly (Auth0Api v2.5.1)

Facade for the Auth0 Management API Anomaly endpoints.

Most applications should call Auth0.Api.Management instead of this module.

Summary

Functions

Check if the given IP address is blocked via the Suspicious IP Throttling due to multiple suspicious attempts.

Remove a block imposed by Suspicious IP Throttling for the given IP address.

Types

@type config() :: Auth0.Config.t()
@type error() :: {:error, integer(), term()} | {:error, term()}
@type ip() :: String.t()

Functions

Link to this function

check_ip_blocked(ip, config)

View Source
@spec check_ip_blocked(ip(), config()) :: {:ok, boolean()} | error()

Check if the given IP address is blocked via the Suspicious IP Throttling due to multiple suspicious attempts.

see

https://auth0.com/docs/api/management/v2/anomaly/get-ips-by-id

Link to this function

remove_blocked_ip(ip, config)

View Source
@spec remove_blocked_ip(ip(), config()) :: {:ok, String.t()} | error()

Remove a block imposed by Suspicious IP Throttling for the given IP address.

see

https://auth0.com/docs/api/management/v2/anomaly/delete-ips-by-id