Sign In With Email and Password
Use the signInWithEmailAndPassword method to allow users to sign in to the application using their email and password.
Method
final userCredential = await FirebaseApp.firebaseAuth?.signInWithEmailAndPassword(email, password);Parameters
email (
String): The user's email address.password (
String): The user's password.
Return
UserCredential?: Returns a
UserCredentialobject containing the user's sign-in information.
This method authenticates users with their email and password, returning their credentials upon successful sign.
Last updated