Class implementing the Device Code Confirmation screen functionality. This screen is displayed when the user needs to confirm the device code.

Hierarchy

  • BaseContext
    • DeviceCodeConfirmation

Implements

Constructors

Properties

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

Methods

  • Cancels the device code flow.

    Parameters

    • Optionalpayload: CustomOptions

      Optional custom options to include with the request.

    Returns Promise<void>

    import DeviceCodeConfirmation from '@auth0/auth0-acul-js/device-code-confirmation';

    const deviceCodeConfirmation = new DeviceCodeConfirmation();
    await deviceCodeConfirmation.cancel();