Package-level declarations
Types
The SignIn object holds the state of the current sign-in process and provides helper methods to navigate and complete the sign-in lifecycle. This includes managing the first and second factor verifications, as well as creating a new session.
Properties
Functions
Retrieves a list of alternative first factors for the current sign-in attempt, excluding the specified factor and certain strategy types.
Returns a list of alternative second factors, sorted by a predefined order, excluding the provided factor.
Attempts to complete the first factor verification process.
Attempts to complete the second factor verification process.
Retrieves the current state of the SignIn object from the server.
Begins the first factor verification process.
Prepares the second factor verification for the sign-in process.
Reloads the SignIn from the server.
Resets the password after verification.
Sends a verification code to the specified email or phone.
Sends a verification code to the user's email address for first factor authentication.
Sends a verification code to the user's email address for MFA (second factor) authentication.
Sends a verification code to the user's phone number for MFA (second factor) authentication.
Sends a verification code to the user's phone number for first factor authentication.
Sends a password reset verification code.
Verifies the first factor with the provided code.
Verifies MFA with the provided code and type.
Verifies the first factor with a passkey credential.
Verifies the first factor with a password.