Class implementing the accept-invitation screen functionality. This screen is displayed when a user needs to accept an invitation to an organization.
Creates an instance of AcceptInvitation screen manager.
Static
Accepts the invitation to the organization.
Optional
Optional custom options to include with the request.
import AcceptInvitation from '@auth0/auth0-acul-js/accept-invitation';const acceptInvitation = new AcceptInvitation();await acceptInvitation.acceptInvitation(); Copy
import AcceptInvitation from '@auth0/auth0-acul-js/accept-invitation';const acceptInvitation = new AcceptInvitation();await acceptInvitation.acceptInvitation();
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.
Class implementing the accept-invitation screen functionality. This screen is displayed when a user needs to accept an invitation to an organization.