npm install auth0-guardian-js
requestToken
or ticket
depends on the authentication method. Ticket corresponds to a previously generated enrollment ticket.
serviceUrl
property to point to the Guardian endpoint:
enrollment-complete
event.
.verify
is a noop for push).auth-response
event with the payload to send to the server, you can use the auth0GuardianJS.formPostHelper('{{ postActionURL }}', payload)
to post back the message to the server.
You may also receive auth-rejected
if the push notification was received.