Skip to main content
Class implementing the accept-invitation screen functionality. This screen is displayed when a user needs to accept an invitation to an organization.
Example
import AcceptInvitation from '@auth0/auth0-acul-js/accept-invitation';

const acceptInvitation = new AcceptInvitation();
await acceptInvitation.acceptInvitation();

Constructors

AcceptInvitation
Constructor
Creates an instance of AcceptInvitation screen manager.

Properties

branding
client
organization
prompt
screen
tenant
transaction
untrustedData
user
screenIdentifier
string

Methods

acceptInvitation
Promise<void>
Accepts the invitation to the organization.
Example
import AcceptInvitation from '@auth0/auth0-acul-js/accept-invitation';

const acceptInvitation = new AcceptInvitation();
await acceptInvitation.acceptInvitation();
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.