View Source Auth0.Management.VerifiableCredentials (Auth0Api v2.5.0)

Facade for the Auth0 Management API Verifiable Credentials endpoints.

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

Summary

Functions

Create a verifiable credential verification template (POST /api/v2/verifiable-credentials/verification/templates).

Delete a verifiable credential verification template.

Retrieve a verifiable credential verification template by its ID.

Retrieve the verifiable credential verification templates (GET /api/v2/verifiable-credentials/verification/templates).

Update a verifiable credential verification template.

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 verifiable credential verification template (POST /api/v2/verifiable-credentials/verification/templates).

see

https://auth0.com/docs/api/management/v2/verifiable-credentials/post-vc-templates

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

Delete a verifiable credential verification template.

see

https://auth0.com/docs/api/management/v2/verifiable-credentials/delete-vc-templates-by-id

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

Retrieve a verifiable credential verification template by its ID.

see

https://auth0.com/docs/api/management/v2/verifiable-credentials/get-vc-templates-by-id

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

Retrieve the verifiable credential verification templates (GET /api/v2/verifiable-credentials/verification/templates).

see

https://auth0.com/docs/api/management/v2/verifiable-credentials/get-vc-templates

Link to this function

update(id, params, config)

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

Update a verifiable credential verification template.

see

https://auth0.com/docs/api/management/v2/verifiable-credentials/patch-vc-templates-by-id