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

Summary

Functions

Create a client grant for a machine-to-machine login flow.

Delete the Client Credential Flow from your machine-to-machine application.

Retrieve a list of client grants, including the scopes associated with the application/API pair.

Update a client grant.

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 client grant for a machine-to-machine login flow.

see

https://auth0.com/docs/api/management/v2/client-grants/post-client-grants

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

Delete the Client Credential Flow from your machine-to-machine application.

see

https://auth0.com/docs/api/management/v2/client-grants/delete-client-grants-by-id

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

Retrieve a list of client grants, including the scopes associated with the application/API pair.

see

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

Link to this function

update(id, params, config)

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

Update a client grant.

see

https://auth0.com/docs/api/management/v2/client-grants/patch-client-grants-by-id