View Source Auth0.Management.Guardian (Auth0Api v2.2.0)

Summary

Functions

Create a multi-factor authentication (MFA) enrollment ticket, and optionally send an email with the created ticket, to a given user.

Remove a specific multi-factor authentication (MFA) enrollment from a user's account. This allows the user to re-enroll with MFA.

Retrieve configuration details for the multi-factor authentication APNS provider associated with your tenant.

Retrieve configuration details for an AWS SNS push notification provider that has been enabled for MFA.

Retrieve details, such as status and type, for a specific multi-factor authentication enrollment registered to a user account.

Retrieve the push notification provider configured for your tenant.

Retrieve details of the multi-factor authentication phone provider configured for your tenant.

Retrieve list of phone-type MFA factors (i.e., sms and voice) that are enabled for your tenant.

Retrieve details of the multi-factor authentication enrollment and verification templates for phone-type factors available in your tenant.

Retrieve configuration details for a Twilio phone provider that has been set up in your tenant.

Retrieve details of all multi-factor authentication factors associated with your tenant.

Retrieve the multi-factor authentication (MFA) policies configured for your tenant.

Modify configuration details of the multi-factor authentication APNS provider associated with your tenant.

Configure the AWS SNS push notification provider configuration (subscription required).

Modify configuration details of the multi-factor authentication FCM provider associated with your tenant.

Modify configuration details of the multi-factor authentication FCMV1 provider associated with your tenant.

Set multi-factor authentication (MFA) policies for your tenant.

Overwrite all configuration details of the multi-factor authentication APNS provider associated with your tenant.

Configure the AWS SNS push notification provider configuration (subscription required).

Update the status (i.e., enabled or disabled) of a specific multi-factor authentication factor.

Overwrite all configuration details of the multi-factor authentication FCM provider associated with your tenant.

Overwrite all configuration details of the multi-factor authentication FCMV1 provider associated with your tenant.

Modify the push notification provider configured for your tenant.

Update phone provider configuration

Replace the list of phone-type MFA factors (i.e., sms and voice) that are enabled for your tenant.

Customize the messages sent to complete phone enrollment and verification (subscription required).

Update the configuration of a Twilio phone provider that has been set up in your tenant.

Types

@type config() :: Auth0.Config.t()
@type error() :: {:error, integer(), term()} | {:error, term()}
@type id() :: String.t()
@type name() :: String.t()

Functions

Link to this function

create_enrollment_ticket(params, config)

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

Create a multi-factor authentication (MFA) enrollment ticket, and optionally send an email with the created ticket, to a given user.

see

https://auth0.com/docs/api/management/v2/guardian/post-ticket

Link to this function

delete_enrollment(id, config)

View Source
@spec delete_enrollment(id(), config()) :: {:ok, String.t()} | error()

Remove a specific multi-factor authentication (MFA) enrollment from a user's account. This allows the user to re-enroll with MFA.

see

https://auth0.com/docs/api/management/v2/guardian/delete-enrollments-by-id

Link to this function

get_apns_configuration(config)

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

Retrieve configuration details for the multi-factor authentication APNS provider associated with your tenant.

see

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

Link to this function

get_aws_sns_configuration(config)

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

Retrieve configuration details for an AWS SNS push notification provider that has been enabled for MFA.

see

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

Link to this function

get_enrollment(id, config)

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

Retrieve details, such as status and type, for a specific multi-factor authentication enrollment registered to a user account.

see

https://auth0.com/docs/api/management/v2/guardian/get-enrollments-by-id

Link to this function

get_notification_provider(config)

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

Retrieve the push notification provider configured for your tenant.

see

https://auth0.com/docs/api/management/v2/guardian/get-pn-providers

Link to this function

get_phone_configuration(config)

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

Retrieve details of the multi-factor authentication phone provider configured for your tenant.

see

https://auth0.com/docs/api/management/v2/guardian/get-guardian-phone-providers

Link to this function

get_phone_factor(config)

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

Retrieve list of phone-type MFA factors (i.e., sms and voice) that are enabled for your tenant.

see

https://auth0.com/docs/api/management/v2/guardian/get-message-types

Link to this function

get_phone_template(config)

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

Retrieve details of the multi-factor authentication enrollment and verification templates for phone-type factors available in your tenant.

see

https://auth0.com/docs/api/management/v2/guardian/get-factor-phone-templates

Link to this function

get_twilio_phone_configuration(config)

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

Retrieve configuration details for a Twilio phone provider that has been set up in your tenant.

see

https://auth0.com/docs/api/management/v2/guardian/get-phone-twilio-factor-provider

@spec list_factors(config()) :: {:ok, [map()]} | error()

Retrieve details of all multi-factor authentication factors associated with your tenant.

see

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

@spec list_policies(config()) :: {:ok, list()} | error()

Retrieve the multi-factor authentication (MFA) policies configured for your tenant.

see

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

Link to this function

patch_apns_configuration(params, config)

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

Modify configuration details of the multi-factor authentication APNS provider associated with your tenant.

see

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

Link to this function

patch_aws_sns_configuration(params, config)

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

Configure the AWS SNS push notification provider configuration (subscription required).

see

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

Link to this function

patch_fcm_configuration(params, config)

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

Modify configuration details of the multi-factor authentication FCM provider associated with your tenant.

see

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

Link to this function

patch_fcmv1_configuration(params, config)

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

Modify configuration details of the multi-factor authentication FCMV1 provider associated with your tenant.

see

https://auth0.com/docs/api/management/v2/guardian/patch-fcmv-1

Link to this function

set_policies(params, config)

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

Set multi-factor authentication (MFA) policies for your tenant.

see

https://auth0.com/docs/api/management/v2/guardian/put-policies

Link to this function

update_apns_configuration(params, config)

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

Overwrite all configuration details of the multi-factor authentication APNS provider associated with your tenant.

see

https://auth0.com/docs/api/management/v2/guardian/put-apns

Link to this function

update_aws_sns_configuration(params, config)

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

Configure the AWS SNS push notification provider configuration (subscription required).

see

https://auth0.com/docs/api/management/v2/guardian/put-sns

Link to this function

update_factor(name, params, config)

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

Update the status (i.e., enabled or disabled) of a specific multi-factor authentication factor.

see

https://auth0.com/docs/api/management/v2/guardian/put-factors-by-name

Link to this function

update_fcm_configuration(params, config)

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

Overwrite all configuration details of the multi-factor authentication FCM provider associated with your tenant.

see

https://auth0.com/docs/api/management/v2/guardian/put-fcm

Link to this function

update_fcmv1_configuration(params, config)

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

Overwrite all configuration details of the multi-factor authentication FCMV1 provider associated with your tenant.

see

https://auth0.com/docs/api/management/v2/guardian/put-fcmv-1

Link to this function

update_notification_provider(params, config)

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

Modify the push notification provider configured for your tenant.

see

https://auth0.com/docs/api/management/v2/guardian/put-pn-providers

Link to this function

update_phone_configuration(params, config)

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

Update phone provider configuration

see

https://auth0.com/docs/api/management/v2/guardian/put-phone-providers

Link to this function

update_phone_factor(params, config)

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

Replace the list of phone-type MFA factors (i.e., sms and voice) that are enabled for your tenant.

see

https://auth0.com/docs/api/management/v2/guardian/put-message-types

Link to this function

update_phone_template(params, config)

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

Customize the messages sent to complete phone enrollment and verification (subscription required).

see

https://auth0.com/docs/api/management/v2/guardian/put-factor-phone-templates

Link to this function

update_twilio_phone_configuration(params, config)

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

Update the configuration of a Twilio phone provider that has been set up in your tenant.

see

https://auth0.com/docs/api/management/v2/guardian/put-twilio