Auth0.Common.Management.Http (Auth0Api v1.4.0) View Source

Documentation for Auth0 Management HTTP.

This module manages http request for Auth0 Management API.

Link to this section Summary

Functions

DELETE Auth0 management rest api.

DELETE Auth0 management rest api. (with body)

GET Auth0 management rest api.

MULTIPART POST Auth0 management rest api.

PATCH Auth0 management rest api.

POST Auth0 management rest api.

PUT Auth0 management rest api.

Request Auth0 management rest api simply.

Link to this section Types

Specs

body() :: map() | list()

Specs

config() :: Auth0.Config.t()

Specs

endpoint() :: String.t()

Specs

headers() :: map()

Specs

method() :: :get | :post | :put | :patch | :delete | :options | :head

Specs

multipart() :: {:multipart, list()}

Specs

Specs

response() ::
  {:ok, integer(), String.t()} | {:error, integer(), term()} | {:error, term()}

Link to this section Functions

Link to this function

delete(endpoint, config)

View Source

Specs

delete(endpoint(), config()) :: response()

DELETE Auth0 management rest api.

Link to this function

delete(endpoint, body, config)

View Source

Specs

delete(endpoint(), body(), config()) :: response()

DELETE Auth0 management rest api. (with body)

Specs

get(endpoint(), config()) :: response()

GET Auth0 management rest api.

Link to this function

multipart_post(endpoint, multipart, config)

View Source

Specs

multipart_post(endpoint(), multipart(), config()) :: response()

MULTIPART POST Auth0 management rest api.

Link to this function

patch(endpoint, body, config)

View Source

Specs

patch(endpoint(), body(), config()) :: response()

PATCH Auth0 management rest api.

Link to this function

post(endpoint, body, config)

View Source

Specs

post(endpoint(), body(), config()) :: response()

POST Auth0 management rest api.

Link to this function

put(endpoint, body, config)

View Source

Specs

put(endpoint(), body(), config()) :: response()

PUT Auth0 management rest api.

Link to this function

raw_request(method, endpoint, body, headers, config)

View Source

Specs

raw_request(method(), endpoint(), body(), headers(), config()) :: raw_response()

Request Auth0 management rest api simply.