validateMultiFactors
Validates MFA factors that were required during authentication. This function should be called after MFA is required and the user has provided their MFA code. It completes the authentication process by validating the MFA factors and completing the auth bundle.
Import
Usage
Parameters
params
ValidateMultiFactorsArgs
-
Parameters for validating MFA factors
Returns
Promise<User>
A promise that resolves to the authenticated user