Class implementing the accept-invitation screen functionality. This screen is displayed when a user needs to accept an invitation to an organization.

Hierarchy

  • BaseContext
    • AcceptInvitation

Implements

Constructors

Properties

branding: BrandingMembers
organization: OrganizationMembers
transaction: TransactionMembers
untrustedData: UntrustedDataMembers
screenIdentifier: string = ScreenIds.ACCEPT_INVITATION

Methods

  • Accepts the invitation to the organization.

    Parameters

    • Optionalpayload: CustomOptions

      Optional custom options to include with the request.

    Returns Promise<void>

    import AcceptInvitation from '@auth0/auth0-acul-js/accept-invitation';

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