Skip to main content
Implements the redeem-ticket screen functionality.
Example
import RedeemTicket from '@auth0/auth0-acul-js/redeem-ticket';

const redeemTicket = new RedeemTicket();
await redeemTicket.continue();

Constructors

RedeemTicket
Constructor
Initializes a new instance of the RedeemTicket class.

Properties

branding
client
organization
prompt
screen
tenant
transaction
untrustedData
user
screenIdentifier
string

Methods

continue
Promise<void>
Performs the default action on the redeem-ticket screen, usually continuing the flow.A promise that resolves when the action is complete.

Throws

If the operation fails.
Example
import RedeemTicket from '@auth0/auth0-acul-js/redeem-ticket';

const redeemTicket = new RedeemTicket();
await redeemTicket.continue();
getErrors
Retrieves the array of transaction errors from the context, or an empty array if none exist.An array of error objects from the transaction context.