Example
Properties
Access to client-specific information (e.g., client ID, name).
Access to organization-specific information, if applicable.
Access to prompt details (e.g., prompt name).
Access to the specific properties and data of the ‘reset-password-mfa-phone-challenge’ screen.
Access to the current transaction details (e.g., state, errors).
Methods
Promise<void>
Sends the verification code to the user’s phone via the specified method (SMS or Voice).
This action corresponds to the user clicking the “Send Code via SMS” or “Send Code via Voice Call” button.
It triggers the Auth0 backend to initiate the code delivery process.A promise that resolves when the action is successfully submitted to the server.
Throws
Throws an error if the submission fails (e.g., network issue, invalid state).Example
Promise<void>
Navigates the user to the screen where they can select an alternative MFA method.
This action corresponds to the user clicking a “Try Another Method” button.A promise that resolves when the action is successfully submitted to the server.
Throws
Throws an error if the submission fails.Example