Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs-dev.auth0-mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Class implementing the Device Code Confirmation screen functionality. This screen is displayed when the user needs to confirm the device code.
Example
import DeviceCodeConfirmation from '@auth0/auth0-acul-js/device-code-confirmation';
const deviceCodeConfirmation = new DeviceCodeConfirmation();

Constructors

DeviceCodeConfirmation
Constructor
Creates an instance of the DeviceCodeConfirmation screen.

Properties

branding
client
organization
prompt
screen
tenant
transaction
untrustedData
user
screenIdentifier
string

Methods

cancel
Promise<void>
Cancels the device code flow.
Example
import DeviceCodeConfirmation from '@auth0/auth0-acul-js/device-code-confirmation';

const deviceCodeConfirmation = new DeviceCodeConfirmation();
await deviceCodeConfirmation.cancel();
confirm
Promise<void>
Confirms the device code.
Example
import DeviceCodeConfirmation from '@auth0/auth0-acul-js/device-code-confirmation';

const deviceCodeConfirmation = new DeviceCodeConfirmation();
await deviceCodeConfirmation.confirm();
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.