UserCredential class
A structure containing a User, an OAuthCredential and operationType. operationType could be 'signIn' for a sign-in operation, 'link' for a linking operation and 'reauthenticate' for a reauthentication operation.
See: firebase.google.com/docs/reference/js/firebase.auth#.UserCredential
Constructors
- UserCredential.fromJsObject(UserCredentialJsImpl jsObject)
-
Creates a new UserCredential from a
jsObject
.
Properties
- additionalUserInfo → AdditionalUserInfo
-
Returns additional user information from a federated identity provider.
no setter
- credential → OAuthCredential
-
Returns the auth credential.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- jsObject → UserCredentialJsImpl
-
JS object.
finalinherited
- operationType → String
-
Returns the operation type.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- user → User?
-
Returns the user.
no setter
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