View Source Auth0Ex.Management.Ticket (auth0_ex v0.9.0)

A module representing tickets on Auth0

Summary

Functions

Create an email verification ticket

Create a password change ticket

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"})