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

Documentation for Auth0 Management API of Guardian.

endpoint

  • /api/v2/guardian/factors
  • /api/v2/guardian/policies
  • /api/v2/guardian/enrollments/{id}
  • /api/v2/guardian/factors/phone/message-types
  • /api/v2/guardian/factors/phone/selected-provider
  • /api/v2/guardian/factors/phone/templates
  • /api/v2/guardian/factors/sms/selected-provider
  • /api/v2/guardian/factors/sms/templates
  • /api/v2/guardian/factors/phone/providers/twilio
  • /api/v2/guardian/factors/push-notification/providers/sns
  • /api/v2/guardian/factors/sms/providers/twilio
  • /api/v2/guardian/enrollments/ticket
  • /api/v2/guardian/factors/{name}

Link to this section Summary

Functions

Create a multi-factor authentication enrollment ticket.

Delete a multi-factor authentication enrollment.

Retrieve AWS SNS push notification configuration.

Retrieve a multi-factor authentication enrollment.

Retrieve phone configuration (one of auth0|twilio|phone-message-hook).

Retrieve the Enabled Phone Factors.

Retrieve Enrollment and Verification Phone Templates.

Retrieve SMS configuration (one of auth0|twilio|phone-message-hook).

Retrieve SMS Enrollment and Verification Templates.

Retrieve Twilio phone configuration.

Retrieve Twilio SMS configuration.

Retrieve Factors and their Status.

Get the Multi-factor Authentication policies.

Update SNS configuration for push notifications.

Set the Multi-factor Authentication policies.

Update AWS SNS push notification configuration.

Update a Multi-factor Authentication Factor.

Update phone configuration (one of auth0|twilio|phone-message-hook).

Update the Enabled Phone Factors.

Update Enrollment and Verification Phone Templates.

Update SMS configuration (one of auth0|twilio|phone-message-hook).

Update SMS Enrollment and Verification Templates.

Update Twilio phone configuration.

Update Twilio SMS configuration.

Link to this section Types

Specs

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

Specs

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

Specs

id() :: String.t()

Specs

name() :: String.t()

Specs

response_body() :: String.t()

Link to this section Functions

Link to this function

create_enrollment_ticket(params, config)

View Source

Specs

Create a multi-factor authentication enrollment ticket.

see

https://auth0.com/docs/api/management/v2/#!/Guardian/post_ticket

Link to this function

delete_enrollment(id, config)

View Source

Specs

delete_enrollment(id(), config()) ::
  {:ok, String.t(), response_body()} | error()

Delete a multi-factor authentication enrollment.

see

https://auth0.com/docs/api/management/v2/#!/Guardian/delete_enrollments_by_id

Link to this function

get_aws_sns_configuration(config)

View Source

Specs

get_aws_sns_configuration(config()) ::
  {:ok, Auth0.Entity.GuardianAwsSnsConfiguration.t(), response_body()} | error()

Retrieve AWS SNS push notification configuration.

see

https://auth0.com/docs/api/management/v2/#!/Guardian/get_sns

Link to this function

get_enrollment(id, config)

View Source

Specs

get_enrollment(id(), config()) ::
  {:ok, Auth0.Entity.GuardianEnrollment.t(), response_body()} | error()

Retrieve a multi-factor authentication enrollment.

see

https://auth0.com/docs/api/management/v2/#!/Guardian/get_enrollments_by_id

Link to this function

get_phone_configuration(config)

View Source

Specs

get_phone_configuration(config()) ::
  {:ok, Auth0.Entity.GuardianPhoneConfiguration.t(), response_body()} | error()

Retrieve phone configuration (one of auth0|twilio|phone-message-hook).

see

https://auth0.com/docs/api/management/v2/#!/Guardian/get_selected_provider

Link to this function

get_phone_factor(config)

View Source

Specs

get_phone_factor(config()) ::
  {:ok, Auth0.Entity.GuardianPhoneFactor.t(), response_body()} | error()

Retrieve the Enabled Phone Factors.

see

https://auth0.com/docs/api/management/v2/#!/Guardian/get_message_types

Link to this function

get_phone_template(config)

View Source

Specs

get_phone_template(config()) ::
  {:ok, Auth0.Entity.GuardianPhoneTemplate.t(), response_body()} | error()

Retrieve Enrollment and Verification Phone Templates.

see

https://auth0.com/docs/api/management/v2/#!/Guardian/get_templates

Link to this function

get_sms_configuration(config)

View Source

Specs

get_sms_configuration(config()) ::
  {:ok, Auth0.Entity.GuardianSmsConfiguration.t(), response_body()} | error()

Retrieve SMS configuration (one of auth0|twilio|phone-message-hook).

see

https://auth0.com/docs/api/management/v2/#!/Guardian/get_selected_provider_0

Link to this function

get_sms_template(config)

View Source

Specs

get_sms_template(config()) ::
  {:ok, Auth0.Entity.GuardianSmsTemplate.t(), response_body()} | error()

Retrieve SMS Enrollment and Verification Templates.

see

https://auth0.com/docs/api/management/v2/#!/Guardian/get_templates_0

Link to this function

get_twilio_phone_configuration(config)

View Source

Specs

get_twilio_phone_configuration(config()) ::
  {:ok, Auth0.Entity.GuardianTwilioConfiguration.t(), response_body()} | error()

Retrieve Twilio phone configuration.

see

https://auth0.com/docs/api/management/v2/#!/Guardian/get_twilio

Link to this function

get_twilio_sms_configuration(config)

View Source

Specs

get_twilio_sms_configuration(config()) ::
  {:ok, Auth0.Entity.GuardianTwilioConfiguration.t(), response_body()} | error()

Retrieve Twilio SMS configuration.

see

https://auth0.com/docs/api/management/v2/#!/Guardian/get_twilio_0

Specs

list_factors(config()) ::
  {:ok, Auth0.Entity.GuardianFactors.t(), response_body()} | error()

Retrieve Factors and their Status.

see

https://auth0.com/docs/api/management/v2/#!/Guardian/get_factors

Specs

list_policies(config()) :: {:ok, [map()], response_body()} | error()

Get the Multi-factor Authentication policies.

see

https://auth0.com/docs/api/management/v2/#!/Guardian/get_policies

Link to this function

patch_aws_sns_configuration(params, config)

View Source

Specs

Update SNS configuration for push notifications.

see

https://auth0.com/docs/api/management/v2/#!/Guardian/patch_sns

Link to this function

set_policies(params, config)

View Source

Specs

set_policies(map(), config()) :: {:ok, [map()], response_body()} | error()

Set the Multi-factor Authentication policies.

see

https://auth0.com/docs/api/management/v2/#!/Guardian/put_policies

Link to this function

update_aws_sns_configuration(params, config)

View Source

Specs

Update AWS SNS push notification configuration.

see

https://auth0.com/docs/api/management/v2/#!/Guardian/put_sns

Link to this function

update_factor(name, params, config)

View Source

Specs

Update a Multi-factor Authentication Factor.

see

https://auth0.com/docs/api/management/v2/#!/Guardian/put_factors_by_name

Link to this function

update_phone_configuration(params, config)

View Source

Specs

Update phone configuration (one of auth0|twilio|phone-message-hook).

see

https://auth0.com/docs/api/management/v2/#!/Guardian/put_selected_provider

Link to this function

update_phone_factor(params, config)

View Source

Specs

Update the Enabled Phone Factors.

see

https://auth0.com/docs/api/management/v2/#!/Guardian/put_message_types

Link to this function

update_phone_template(params, config)

View Source

Specs

Update Enrollment and Verification Phone Templates.

see

https://auth0.com/docs/api/management/v2/#!/Guardian/put_templates

Link to this function

update_sms_configuration(params, config)

View Source

Specs

Update SMS configuration (one of auth0|twilio|phone-message-hook).

see

https://auth0.com/docs/api/management/v2/#!/Guardian/put_selected_provider_0

Link to this function

update_sms_template(params, config)

View Source

Specs

Update SMS Enrollment and Verification Templates.

see

https://auth0.com/docs/api/management/v2/#!/Guardian/put_templates_0

Link to this function

update_twilio_phone_configuration(params, config)

View Source

Specs

Update Twilio phone configuration.

see

https://auth0.com/docs/api/management/v2/#!/Guardian/put_twilio

Link to this function

update_twilio_sms_configuration(params, config)

View Source

Specs

Update Twilio SMS configuration.

see

https://auth0.com/docs/api/management/v2/#!/Guardian/put_twilio_0