> ## Documentation Index
> Fetch the complete documentation index at: https://auth0.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DeviceCodeActivationAllowed

> Describes all the properties and methods available to customize the Universal Login `device-code-activation-allowed` screen.

The DeviceCodeActivationAllowed class implements the `device-code-activation-allowed` screen functionality. This screen is displayed when the device code activation has been successfully authorized.

![](https://mintlify.s3.us-west-1.amazonaws.com/auth0/docs/images/cdy7uua7fh8z/4IkAJ0lbhcvwv8qHnH9lgr/17e38628ff74219a623fdbcf780aa9fe/Screenshot_2025-04-23_at_16.19.11.png)

## Constructors

Create an instance of DeviceCodeActivationAllowed screen manager:

```typescript Example theme={null}
import DeviceCodeActivationAllowed from '@auth0/auth0-acul-js/device-code-activation-allowed';
const deviceCodeActivationAllowedManager = new DeviceCodeActivationAllowed();
```

## Properties

**branding**

Provides branding-related configurations, such as branding theme and settings.

**client**

Provides client-related configurations, such as `id`, `name`, and `logoUrl`, for the `device-code-activation-allowed` screen.

**countryCodes**

Provides country code data for phone number entry, such as `available` and `recommended`, for the `device-code-activation-allowed` screen.

**experiment**

The active [Experiment Center](/docs/customize/experiment-center) experiment for this screen, or `null` when no experiment is active (or the screen has not opted in via `context_configuration`).

**organization**

Provides information about the user's Organization, such as `id` and `name`.

**prompt**

Contains data about the current prompt in the authentication flow.

**screen**

Contains details specific to the `device-code-activation-allowed` screen, including its configuration and context.

**tenant**

Contains data related to the tenant, such as `id` and associated metadata.

**transaction**

Provides transaction-specific data for the `device-code-activation-allowed` screen, such as active identifiers and flow states.

**untrustedData**

Handles untrusted data passed to the SDK, such as user input during the device code activation flow.

**user**

Details of the active user, including `username`, `email`, and `roles`.

## Methods

**changeLanguage** `Promise\<void\>`

This method changes the display language of the Universal Login page.

```typescript Example theme={null}
import DeviceCodeActivationAllowed from '@auth0/auth0-acul-js/device-code-activation-allowed';
const deviceCodeActivationAllowedManager = new DeviceCodeActivationAllowed();
deviceCodeActivationAllowedManager.changeLanguage({
  language: 'fr',
});
```

**Method Parameters**

**Parameters**

**options**

[LanguageChangeOptions](/docs/libraries/acul/js-sdk/Screens/interfaces/LanguageChangeOptions).

**language** `string` *required*

The locale code for the desired language (for example, `'en'`, `'fr'`, `'es'`).

**persist?** `"session"`

When set to `'session'`, the selected language persists for the duration of the session.

**getErrors**

This method retrieves the array of transaction errors from the context, or an empty array if none exist.
