Verify Password Reset Code

Use the verifyPasswordResetCode method to verify the validity of a password reset code sent to the user's email.

Method

final response = await FirebaseApp.firebaseAuth?.verifyPasswordResetCode(code);

Parameters

  • code (String): The password reset code sent to the user's email.

Return

  • HTTPResponse: Returns an HTTP response object indicating whether the password reset code is valid.

This method checks if the password reset code provided by the user is valid and can be used to reset the password.

Last updated