View Source Auth0.Management.Prompts (Auth0Api v2.5.0)

Facade for the Auth0 Management API Prompts endpoints.

Most applications should call Auth0.Api.Management instead of this module.

Summary

Functions

Update render settings for multiple screens.

Retrieve details of the Universal Login configuration of your tenant. This includes the Identifier First Authentication and WebAuthn with Device Biometrics for MFA features.

Retrieve custom text for a specific prompt and language.

Get template partials for a prompt

Retrieve the rendering configuration for a single screen.

Get render setting configurations for all screens.

Set custom text for a specific prompt. Existing texts will be overwritten.

Set template partials for a prompt

Configures ACUL settings on a single screen.

Update the Universal Login configuration of your tenant. This includes the Identifier First Authentication and WebAuthn with Device Biometrics for MFA features.

Types

@type config() :: Auth0.Config.t()
@type error() :: {:error, integer(), term()} | {:error, term()}
@type language() :: String.t()
@type prompt() :: String.t()
@type screen() :: String.t()
@type value_params() :: %{:value => list() | map(), optional(any()) => any()}

Functions

Link to this function

bulk_update_renderings(params, config)

View Source
@spec bulk_update_renderings(map(), config()) :: {:ok, map()} | error()

Update render settings for multiple screens.

Learn more about configuring render settings for advanced customization.

see

https://auth0.com/docs/api/management/v2/prompts/patch-bulk-rendering

@spec get(config()) :: {:ok, map()} | error()

Retrieve details of the Universal Login configuration of your tenant. This includes the Identifier First Authentication and WebAuthn with Device Biometrics for MFA features.

see

https://auth0.com/docs/api/management/v2/prompts/get-prompts

Link to this function

get_custom_text(prompt, language, config)

View Source
@spec get_custom_text(prompt(), language(), config()) :: {:ok, map()} | error()

Retrieve custom text for a specific prompt and language.

see

https://auth0.com/docs/api/management/v2/prompts/get-custom-text-by-language

Link to this function

get_partials(prompt, config)

View Source
@spec get_partials(prompt(), config()) :: {:ok, map()} | error()

Get template partials for a prompt

see

https://auth0.com/docs/api/management/v2/prompts/get-partials

Link to this function

get_rendering_configuration(prompt, screen, config)

View Source
@spec get_rendering_configuration(prompt(), screen(), config()) ::
  {:ok, map()} | error()

Retrieve the rendering configuration for a single screen.

see

https://auth0.com/docs/api/management/v2/prompts/get-rendering-configuration

Link to this function

list_renderings(params, config)

View Source
@spec list_renderings(map(), config()) :: {:ok, map() | [map()]} | error()

Get render setting configurations for all screens.

see

https://auth0.com/docs/api/management/v2/prompts/get-all-rendering

Link to this function

set_custom_text(prompt, language, params, config)

View Source
@spec set_custom_text(prompt(), language(), value_params(), config()) ::
  {:ok, String.t()} | error()

Set custom text for a specific prompt. Existing texts will be overwritten.

see

https://auth0.com/docs/api/management/v2/prompts/put-custom-text-by-language

Link to this function

set_partials(prompt, params, config)

View Source
@spec set_partials(prompt(), value_params(), config()) :: {:ok, String.t()} | error()

Set template partials for a prompt

see

https://auth0.com/docs/api/management/v2/prompts/put-partials

Link to this function

set_rendering_configuration(prompt, screen, params, config)

View Source
@spec set_rendering_configuration(prompt(), screen(), map(), config()) ::
  {:ok, map()} | error()

Configures ACUL settings on a single screen.

see

https://auth0.com/docs/api/management/v2/prompts/patch-rendering-configuration

@spec update(map(), config()) :: {:ok, map()} | error()

Update the Universal Login configuration of your tenant. This includes the Identifier First Authentication and WebAuthn with Device Biometrics for MFA features.

see

https://auth0.com/docs/api/management/v2/prompts/patch-prompts