auth0_ex v0.3.2 Auth0Ex.Management.UserBlock View Source
A module representing user blocks resource on Auth0
Link to this section Summary
Functions
Gets all user blocks for given identifier. Identifier should be any of: username, phone_number, email
Get a user's block
Unblock a block by identifier
Unblock a user
Link to this section Functions
Link to this function
get(identifier) View Source
Gets all user blocks for given identifier. Identifier should be any of: username, phone_number, email
iex> Auth0Ex.Management.UserBlock.get("some@example.com")
Link to this function
get_user_block(user_id) View Source
Get a user's block
iex> Auth0Ex.Management.UserBlock.get_user_block("auth0|234234")
Link to this function
unblock(identifier) View Source
Unblock a block by identifier
iex> Auth0Ex.Management.UserBlock.unblock("some@example.com")
Link to this function
unblock_user(user_id) View Source
Unblock a user
iex> Auth0Ex.Management.UserBlock.unblock_user("auth0|2342")