View Source Auth0.Management.RiskAssessments (Auth0Api v2.5.1)

Facade for the Auth0 Management API Risk Assessments endpoints.

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

Summary

Functions

Create a risk assessment.

Retrieve a risk assessment by its ID.

Get new device assessor.

Get risk assessment settings.

Update new device assessor.

Update risk assessment settings.

Types

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

Functions

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

Create a risk assessment.

Deprecated: POST /api/v2/risk-assessments / GET /api/v2/risk-assessments/{id} are not part of the Auth0 Management API v2 specification. Use get_settings/1 / update_settings/2 instead.

see

https://auth0.com/docs/api/management/v2/risk-assessments/post-risk-assessments

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

Retrieve a risk assessment by its ID.

Deprecated: POST /api/v2/risk-assessments / GET /api/v2/risk-assessments/{id} are not part of the Auth0 Management API v2 specification. Use get_settings/1 / update_settings/2 instead.

see

https://auth0.com/docs/api/management/v2/risk-assessments/get-risk-assessments-by-id

Link to this function

get_new_device_settings(config)

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

Get new device assessor.

Gets the risk assessment settings for the new device assessor

see

https://auth0.com/docs/api/management/v2/risk-assessments/get-new-device

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

Get risk assessment settings.

Gets the tenant settings for risk assessments

see

https://auth0.com/docs/api/management/v2/risk-assessments/get-risk-assessments-settings

Link to this function

update_new_device_settings(params, config)

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

Update new device assessor.

Updates the risk assessment settings for the new device assessor

see

https://auth0.com/docs/api/management/v2/risk-assessments/patch-new-device

Link to this function

update_settings(params, config)

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

Update risk assessment settings.

Updates the tenant settings for risk assessments

see

https://auth0.com/docs/api/management/v2/risk-assessments/patch-risk-assessments-settings