mfa-otp-enrollment-code screen functionality. This screen is displayed when the user needs to enter the OTP code received during MFA enrollment.

Constructors
Create an instance of MfaOtpEnrollmentCode screenExample
Properties
Provides branding-related configurations, such as branding theme and settings.
Provides client-related configurations, such as
id, name, and logoUrl.Provides information about the user’s organization, such as organization
id and name.Contains data about the current prompt in the authentication flow.
Contains details specific to the
mfa-otp-enrollment-code screen, including its configuration and context.Contains data related to the tenant, such as
id and associated metadata.Provides transaction-specific data, such as active identifiers and flow states.
Handles untrusted data passed to the SDK, such as user input during login.
Details of the active user, including
username, email, and roles.Methods
This method continues the MFA OTP enrollment process by submitting the OTP code.
Example
The options containing the OTP code.
This method retrieves the array of transaction errors from the context, or an empty array if none exist.