Skip to main content

Documentation Index

Fetch the complete documentation index at: https://auth0-feat-tab-ia.mintlify.app/llms.txt

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

The MfaDetectBrowserCapabilities class implements the mfa-detect-browser-capabilities screen functionality. This screen detects browser capabilities for MFA authentication methods.
ACUL MFA Detect Browser Capabilities

Constructors

Create an instance of MFA Detect Browser Capabilities screen manager:
Example
import MfaDetectBrowserCapabilities from '@auth0/auth0-acul-js/mfa-detect-browser-capabilities';
const mfaDetectBrowserCapabilities = new MfaDetectBrowserCapabilities();
await mfaDetectBrowserCapabilities.detectCapabilities();

Properties

Provides branding-related configurations, such as branding theme and settings.
Provides client-related configurations, such as id, name, and logoUrl, for the mfa-detect-browser-capabilities screen.
Provides information about the user’s Organization, such as id and name.
Contains data about the current prompt in the authentication flow.
Contains details specific to the mfa-detect-browser-capabilities screen, including its configuration and context.
Contains data related to the tenant, such as id and associated metadata.
Provides transaction-specific data for the mfa-detect-browser-capabilities screen, such as active identifiers and flow states.
Handles untrusted data passed to the SDK, such as user input during MFA browser capability detection.
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.
Example
import MfaDetectBrowserCapabilities from '@auth0/auth0-acul-js/mfa-detect-browser-capabilities';
const mfaDetectBrowserCapabilities = new MfaDetectBrowserCapabilities();
mfaDetectBrowserCapabilities.changeLanguage({
  language: 'fr',
});
Method Parameters

detectCapabilities
Promise<void>
This method picks an authenticator based on browser capabilities.
Example
import MfaDetectBrowserCapabilities from '@auth0/auth0-acul-js/mfa-detect-browser-capabilities';
const mfaDetectBrowserCapabilities = new MfaDetectBrowserCapabilities();
await mfaDetectBrowserCapabilities.detectCapabilities();
Method Parameters

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