EmailAuthProvider class abstract
A EmailAuthCredential can be created by calling EmailAuthProvider.credential with an email and password.
Usage of EmailAuthProvider would be when you wish to sign a user in with a credential or reauthenticate a user.
- Inheritance
-
- Object
- AuthProvider
- EmailAuthProvider
Constructors
- EmailAuthProvider()
- Creates a new instance.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- providerId → String
-
The provider ID.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- EMAIL_LINK_SIGN_IN_METHOD → String
-
This corresponds to the sign-in method identifier for email-link sign-ins.
no setter
- EMAIL_PASSWORD_SIGN_IN_METHOD → String
-
This corresponds to the sign-in method identifier for email-password
sign-ins.
no setter
- PROVIDER_ID → String
-
no setter
Static Methods
-
credential(
{required String email, required String password}) → AuthCredential - Creates a new EmailAuthCredential from a given email and password.
-
credentialWithLink(
{required String email, required String emailLink}) → AuthCredential - Creates a new EmailAuthCredential from a given email and email link.