auth0_ex v0.3.2 Auth0Ex.Management.Ticket View Source

A module representing tickets on Auth0

Link to this section Summary

Functions

Create an email verification ticket

Create a password change ticket

Link to this section Functions

Link to this function

email_verification(user_id, body) View Source

Create an email verification ticket

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

Create a password change ticket

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