EmailAuthProvider class
Provider for email/password authentication.
This class provides credentials for email-based sign-in methods.
- Inheritance
-
- Object
- AuthProvider
- EmailAuthProvider
Constructors
- EmailAuthProvider()
- Constructs an EmailAuthProvider with providerId 'password'.
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 -
Returns a string representation of the provider.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- EMAIL_LINK_SIGN_IN_METHOD → String
-
The sign-in method for email link.
no setter
- EMAIL_PASSWORD_SIGN_IN_METHOD → String
-
The sign-in method for email/password.
no setter
- PROVIDER_ID → String
-
The provider ID for email authentication.
no setter
Static Methods
-
credential(
{required String email, String? password}) → AuthCredential - Creates an AuthCredential for email/password sign-in.
-
credentialWithLink(
{required String email, required String emailLink}) → AuthCredential - Creates an AuthCredential for email link sign-in.