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

Documentation for Auth0 Authentication HTTP.

This module manages http request for Auth0 Authentication API.

Link to this section Summary

Link to this section Types

Specs

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

Specs

endpoint() :: String.t()

Specs

request_func() :: function()

Specs

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

Specs

retry_count() :: integer()

Link to this section Functions

Link to this function

request_with_retry(request_func, endpoint, config, retry_count \\ 0)

View Source

Specs

request_with_retry(request_func(), endpoint(), config(), retry_count()) ::
  response()

Request of Auth0 authentication rest api.