View Source Auth0Ex.Parser (auth0_ex v0.9.0)

Parser to parse all the responses from Auth0 API endpoints

Summary

Functions

Parses the response from auth0 api calls

Types

@type response() ::
  {:ok, [struct()]}
  | {:ok, struct()}
  | :ok
  | {:error, map(), status_code()}
  | {:error, map()}
  | any()
@type status_code() :: integer()

Functions

@spec parse(tuple()) :: response()

Parses the response from auth0 api calls