GoogleAuthCredential class
Credential for Google authentication.
Extends OAuthCredential.
- Inheritance
-
- Object
- AuthCredential
- OAuthCredential
- GoogleAuthCredential
Constructors
- GoogleAuthCredential({String? accessToken, String? idToken})
- Constructs a GoogleAuthCredential.
Properties
- accessToken → String?
-
The access token (optional).
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- idToken → String?
-
The ID token (optional).
finalinherited
- providerId → String
-
The provider ID.
finalinherited
- rawNonce → String?
-
The raw nonce (optional).
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signInMethod → String
-
The sign-in method.
finalinherited
- token → int?
-
The token (optional).
finalinherited
Methods
-
asMap(
) → Map< String, String?> -
Converts the credential to a map.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns a string representation of the credential.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited