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

Summary

Functions

Add the token identified by the jti to a blacklist for the tenant.

Retrieve the jti and aud of all tokens that are blacklisted.

Types

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

Functions

Link to this function

add_token(params, config)

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

Add the token identified by the jti to a blacklist for the tenant.

see

https://auth0.com/docs/api/management/v2/blacklists/post-tokens

Link to this function

list_tokens(params, config)

View Source
@spec list_tokens(map(), config()) :: {:ok, [map()]} | error()

Retrieve the jti and aud of all tokens that are blacklisted.

see

https://auth0.com/docs/api/management/v2/blacklists/get-tokens