OptionalcountryOptional on the interface so existing implementors of BaseMembers (e.g. test mocks)
keep compiling. Always populated at runtime by the BaseContext constructor.
OptionalexperimentThe active Experiment Center experiment for the current screen, or null
when none is active (or the screen has not opted in via context_configuration).
Optional on the interface so existing implementors of BaseMembers (e.g. test mocks)
keep compiling. Always populated at runtime by the BaseContext constructor.
Screen-specific properties and data.
Submits the voice verification code to validate the MFA challenge.
Object containing the verification code and optional parameters
Promise that resolves when the code is successfully validated
Navigates to the screen for selecting a different phone number.
Optionalpayload: Screens.CustomOptionsOptional custom parameters
Promise that resolves when navigation is complete
Requests a new voice call with a verification code.
Optionalpayload: Screens.CustomOptionsOptional custom parameters to send with the request.
A promise that resolves once the form is submitted, before the page reloads. It doesn't confirm that a new code was sent.
Submits a form POST with action: "resend-code". Auth0 responds by rendering this
screen again, so the browser reloads the page and the current JavaScript context,
including component state and timers, is lost.
Code after await resendCode() may still run, but anything it sets up, such as a
"code sent" message or a countdown, is gone after the reload. Server-side errors,
such as rate limits, appear in transaction.errors (or useErrors() in React) on
the reloaded page. They don't reject the returned promise.
To add a cooldown between resends, use resendManager() (or useResend() in React).
It stores its countdown in localStorage, so the countdown survives the reload.
Gets resend functionality with timeout management for this screen
Optionaloptions: Screens.StartResendOptionsConfiguration options for resend functionality
Switches to SMS verification method instead of voice call.
Optionalpayload: Screens.CustomOptionsOptional custom parameters
Promise that resolves when switching is complete
Navigates to the screen for selecting an alternative MFA method.
Optionalpayload: Screens.CustomOptionsOptional custom parameters
Promise that resolves when navigation is complete
Interface defining all members and operations available on the MFA Voice Challenge screen.