MfaEnrollResult
import MfaEnrollResult from '@auth0/auth0-acul-js/mfa-enroll-result';const mfaEnrollResultScreen = new MfaEnrollResult();// Access screen dataconst enrollmentStatus = mfaEnrollResultScreen.screen.data?.status;const pageTitle = mfaEnrollResultScreen.screen.texts?.title;console.log(`MFA Enrollment Status: ${enrollmentStatus}`);console.log(`Page Title: ${pageTitle}`); Copy
import MfaEnrollResult from '@auth0/auth0-acul-js/mfa-enroll-result';const mfaEnrollResultScreen = new MfaEnrollResult();// Access screen dataconst enrollmentStatus = mfaEnrollResultScreen.screen.data?.status;const pageTitle = mfaEnrollResultScreen.screen.texts?.title;console.log(`MFA Enrollment Status: ${enrollmentStatus}`);console.log(`Page Title: ${pageTitle}`);
Creates an instance of MfaEnrollResult screen manager. It initializes the BaseContext and sets up the screen property with an instance of ScreenOverride tailored for this screen.
BaseContext
screen
ScreenOverride
If the Universal Login Context is not available or if the current screen name in the context does not match MfaEnrollResult.screenIdentifier.
MfaEnrollResult.screenIdentifier
Static
static
MfaEnrollResult
Example