AuthCredential class
Represents the authentication credentials of the user.
This is the base class for all authentication credentials.
- Implementers
Constructors
- AuthCredential({required String providerId, required String signInMethod, int? token, String? accessToken})
- Constructs an AuthCredential.
Properties
- accessToken → String?
-
The access token (optional).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- providerId → String
-
The provider ID.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signInMethod → String
-
The sign-in method.
final
- token → int?
-
The token (optional).
final
Methods
-
asMap(
) → Map< String, dynamic> - Converts the credential to a map.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns a string representation of the credential.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited