Skip to main content
ResetPasswordMfaPhoneChallenge
Example

Constructors

Constructor
Initializes a new instance of the ResetPasswordMfaPhoneChallenge class. It retrieves the screen context and sets up the screen-specific properties.

Throws

If the Universal Login Context is not available or if the screen name doesn’t match.

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).
Holds the specific screen data and properties, processed by ScreenOverride.
Access to the current transaction details (e.g., state, errors).
string
The unique identifier for this screen, used internally and for telemetry.

Methods

Promise<void>
Sends the verification code to the user’s phone via the selected method (SMS or Voice). Corresponds to the ‘Continue’ action in the OpenAPI definition (action: ‘default’).A promise resolving upon successful submission to the server.

Throws

If the form submission fails.
Example
Retrieves the array of transaction errors from the context, or an empty array if none exist.An array of error objects from the transaction context.
Promise<void>
Initiates the process for the user to select a different MFA authenticator. Corresponds to the ‘Try Another Method’ action in the OpenAPI definition (action: ‘pick-authenticator’).A promise resolving upon successful submission to the server.

Throws

If the form submission fails.
Example