
Example
Constructors
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
branding
client
Access to client-specific information (e.g., client ID, name).
organization
Access to organization-specific information, if applicable.
prompt
Access to prompt details (e.g., prompt name).
screen
Holds the specific screen data and properties, processed by ScreenOverride.
tenant
transaction
Access to the current transaction details (e.g., state, errors).
untrustedData
user
The unique identifier for this screen, used internally and for telemetry.
Methods
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
getErrors
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.
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