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
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
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
Specs
set_custom_text( prompt(), language(), Auth0.Management.Prompts.CustomText.Put.Params.t() | map(), config() ) :: {:ok, Auth0.Entity.CustomText.t(), response_body()} | error()
Set custom text for a specific prompt.
see
https://auth0.com/docs/api/management/v2/#!/Prompts/put_custom_text_by_language
Specs
update(Auth0.Management.Prompts.Patch.Params.t() | map(), config()) :: {:ok, Auth0.Entity.Prompt.t(), response_body()} | error()
Update prompts settings.
see
https://auth0.com/docs/api/management/v2/#!/Prompts/patch_prompts