Skip to main content
The RedeemTicket class implements the redeem-ticket screen functionality. This screen is displayed when a user needs to redeem a ticket to continue with the authentication flow.

Constructors

Create an instance of RedeemTicket screen manager
Example
import RedeemTicket from '@auth0/auth0-acul-js/redeem-ticket';

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

Properties

Provides branding-related configurations, such as branding theme and settings.
Provides client-related configurations, such as id, name, and logoUrl, for the redeem-ticket screen.
Provides information about the user’s organization, such as organization id and name.
Contains data about the current prompt in the authentication flow.
Contains details specific to the redeem-ticket screen, including its configuration and context.
Contains data related to the tenant, such as id and associated metadata.
Provides transaction-specific data for the redeem-ticket screen, such as active identifiers and flow states.
Handles untrusted data passed to the SDK, such as user input during the redeem ticket flow.
Details of the active user, including username, email, and roles.

Methods

continue
(options ?)
This method performs the default action on the redeem-ticket screen, continuing the authentication flow.
Example
import RedeemTicket from '@auth0/auth0-acul-js/redeem-ticket';

const redeemTicket = new RedeemTicket();
await redeemTicket.continue();
options
OPTIONAL
Optional payload.
getErrors
This method retrieves the array of transaction errors from the context, or an empty array if none exist.