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

Facade for the Auth0 Management API Supplemental Signals endpoints.

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

Summary

Functions

Create a supplemental signal.

Retrieve a supplemental signal by its ID.

Get the supplemental signals configuration for a tenant.

Update the supplemental signals configuration for a tenant.

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 supplemental signal.

Deprecated: POST /api/v2/supplemental-signals / GET /api/v2/supplemental-signals/{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/supplemental-signals/post-supplemental-signals

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

Retrieve a supplemental signal by its ID.

Deprecated: POST /api/v2/supplemental-signals / GET /api/v2/supplemental-signals/{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/supplemental-signals/get-supplemental-signals-by-id

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

Get the supplemental signals configuration for a tenant.

Early Access: this endpoint is marked as Early Access (x-release-lifecycle: EA) in the Auth0 Management API specification and may not be available on every tenant.

see

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

Link to this function

update_settings(params, config)

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

Update the supplemental signals configuration for a tenant.

Early Access: this endpoint is marked as Early Access (x-release-lifecycle: EA) in the Auth0 Management API specification and may not be available on every tenant.

see

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