EmailAuthProvider class Null safety
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. [...]
read-only, inherited
- providerId → String
-
The provider ID.
final, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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.
read-only
- EMAIL_PASSWORD_SIGN_IN_METHOD → String
-
This corresponds to the sign-in method identifier for email-password
sign-ins.
read-only
- PROVIDER_ID → String
-
read-only
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.