GoogleSignInAccount class
Holds fields describing a signed in user's identity, following
GoogleSignInUserData
.
id is guaranteed to be non-null.
- Implemented types
- Annotations
Properties
-
authentication
→ Future<
GoogleSignInAuthentication> -
Retrieve GoogleSignInAuthentication for this account.
no setter
-
authHeaders
→ Future<
Map< String, String> > -
Convenience method returning a
<String, String>
map of HTML Authorization headers, containing the currentauthentication.accessToken
.no setter - displayName → String?
-
The display name of the signed in user.
final
- email → String
-
The email address of the signed in user.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
The unique ID for the Google account.
final
- photoUrl → String?
-
The photo url of the signed in user if the user has a profile picture.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serverAuthCode → String?
-
Server auth code used to access Google Login
final
Methods
-
clearAuthCache(
) → Future< void> - Clears any client side cache that might be holding invalid tokens.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- kFailedToRecoverAuthError → const String
- Error code indicating there was a failed attempt to recover user authentication.
- kUserRecoverableAuthError → const String
- Error indicating that authentication can be recovered with user action;