View Source Auth0.Management.UserBlocks (Auth0Api v2.2.0)

Summary

Functions

Retrieve details of all Brute-force Protection blocks for a user with the given identifier (username, phone number, or email).

Retrieve details of all Brute-force Protection blocks for the user with the given ID.

Remove all Brute-force Protection blocks for the user with the given identifier (username, phone number, or email).

Remove all Brute-force Protection blocks for the user with the given ID.

Types

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

Functions

@spec get(map(), config()) :: {:ok, map()} | error()

Retrieve details of all Brute-force Protection blocks for a user with the given identifier (username, phone number, or email).

see

https://auth0.com/docs/api/management/v2/user-blocks/get-user-blocks

Link to this function

get_by_user_id(id, params, config)

View Source
@spec get_by_user_id(id(), map(), config()) :: {:ok, map()} | error()

Retrieve details of all Brute-force Protection blocks for the user with the given ID.

see

https://auth0.com/docs/api/management/v2/user-blocks/get-user-blocks-by-id

@spec unblock(map(), config()) :: {:ok, String.t()} | error()

Remove all Brute-force Protection blocks for the user with the given identifier (username, phone number, or email).

see

https://auth0.com/docs/api/management/v2/user-blocks/delete-user-blocks

Link to this function

unblock_by_user_id(id, config)

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

Remove all Brute-force Protection blocks for the user with the given ID.

see

https://auth0.com/docs/api/management/v2/user-blocks/delete-user-blocks-by-id