Auth0Client.Management.Ticket (auth0_client v1.0.0)

Copy Markdown View Source

A module representing tickets on Auth0

Summary

Functions

Create an email verification ticket

Create a password change ticket

Functions

email_verification(user_id, body)

Create an email verification ticket

The user_id passed positionally wins: any user_id already in body is overwritten with it.

iex> Auth0Client.Management.Ticket.email_verification("auth0|user_id", %{result_url: "http://myapp.com/callback", ttl_sec: 0})

password_change(body)

Create a password change ticket

iex> Auth0Client.Management.Ticket.password_change(%{result_url: "http://myapp.com/callback"})