Learn about ACUL Email Verification Result screen class
The Email Verification Result screen class provides methods associated with the email-verification-result screen.
Import and instantiate the Email Verification Result screen class:
Copy
Ask AI
import EmailVerificationResult from '@auth0/auth0-acul-js/email-verification-result';const emailVerificationResultScreen = new EmailVerificationResult();// Access screen dataconst status = emailVerificationResultScreen.screen.data?.status;const loginLink = emailVerificationResultScreen.screen.loginLink;console.log(`Verification Status: ${status}`);if (loginLink) { console.log(`Proceed to login: ${loginLink}`); // In a UI, you would use this link for a button or anchor tag // e.g., <a href={loginLink}>Go to Login</a>}