Auth0.Management.Prompts (Auth0Api v1.4.0) View Source

Documentation for Auth0 Management API of Prompts.

endpoint

  • /api/v2/prompts
  • /api/v2/prompts/{prompt}/custom-text/{language}

Link to this section Summary

Functions

Get prompts settings.

Get custom text for a prompt.

Set custom text for a specific prompt.

Update prompts settings.

Link to this section Types

Specs

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

Specs

error() :: {:error, integer(), term()} | {:error, term()}

Specs

language() :: String.t()

Specs

prompt() :: String.t()

Specs

response_body() :: String.t()

Link to this section Functions

Specs

get(config()) :: {:ok, Auth0.Entity.Prompt.t(), response_body()} | error()

Get prompts settings.

see

https://auth0.com/docs/api/management/v2/#!/Prompts/get_prompts

Link to this function

get_custom_text(prompt, language, config)

View Source

Specs

get_custom_text(prompt(), language(), config()) ::
  {:ok, Auth0.Entity.CustomText.t(), response_body()} | error()

Get custom text for a prompt.

see

https://auth0.com/docs/api/management/v2/#!/Prompts/get_custom_text_by_language

Link to this function

set_custom_text(prompt, language, params, config)

View Source

Specs

Set custom text for a specific prompt.

see

https://auth0.com/docs/api/management/v2/#!/Prompts/put_custom_text_by_language

Specs

Update prompts settings.

see

https://auth0.com/docs/api/management/v2/#!/Prompts/patch_prompts