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

Facade for the Auth0 Management API Blacklist endpoints.

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

Deprecated: the blacklists endpoints are no longer part of the Auth0 Management API v2 specification. The corresponding Auth0.Api.Management functions are marked with @deprecated.

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