The LoginPasswordlessSmsOtp class implements theDocumentation Index
Fetch the complete documentation index at: https://docs-staging.auth0-mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
login-passwordless-sms-otp screen functionality. This screen collects the user’s phone number and code.

Constructors
Create an instance of LoginPasswordlessSmsOtp screen manager:Example
Properties
Provides branding-related configurations, such as branding theme and settings.
Provides client-related configurations, such as
id, name, and logoUrl, for the login-passwordless-sms-otp screen.Provides information about the user’s Organization, such as
id and name.Contains data about the current prompt in the authentication flow.
Contains details specific to the
login-passwordless-sms-otp screen, including its configuration and context.Contains data related to the tenant, such as
id and associated metadata.Provides transaction-specific data for the
login-passwordless-sms-otp screen, such as active identifiers and flow states.Handles untrusted data passed to the SDK, such as user input during login.
Details of the active user, including
username, email, and roles.Methods
This method changes the display language of the Universal Login page.Method Parameters
Example
This method 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.
This method provides resend functionality with timeout management. It returns a Method Parameters
ResendControl object with a startResend() method that triggers the resend and enforces a cooldown period before the user can resend again.Example
This method resends the code to the user’s phone number.Method Parameters
Example
This method continues the login process using the OTP code.Method Parameters
Example
This method switches between a database connection (password) and a passwordless connection (Email/SMS OTP).Method Parameters
Example