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

Summary

Functions

Delete a session by ID.

Retrieve session information.

Revokes a session by ID and all associated refresh tokens.

Types

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

Functions

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

Delete a session by ID.

see

https://auth0.com/docs/api/management/v2/sessions/delete-session

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

Retrieve session information.

see

https://auth0.com/docs/api/management/v2/sessions/get-session

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

Revokes a session by ID and all associated refresh tokens.

see

https://auth0.com/docs/api/management/v2/sessions/revoke-session