| Package | com.tuarua.google.signin |
| Class | public class GoogleSignInAccount |
| Inheritance | GoogleSignInAccount Object |
| Property | Defined By | ||
|---|---|---|---|
| accessToken : String
The OAuth2 access token to access Google services. | GoogleSignInAccount | ||
| displayName : String
Returns the display name of the signed in user. | GoogleSignInAccount | ||
| email : String
Returns the email address of the signed in user. | GoogleSignInAccount | ||
| familyName : String
Returns the family name of the signed in user. | GoogleSignInAccount | ||
| givenName : String
Returns the given name of the signed in user. | GoogleSignInAccount | ||
| grantedScopes : Array
Returns all scopes that have been authorized to your application. | GoogleSignInAccount | ||
| id : String
Unique ID for the Google account. | GoogleSignInAccount | ||
| idToken : String
Returns an ID token that you can send to your server. | GoogleSignInAccount | ||
| photoUrl : String
Returns the photo url of the signed in user. | GoogleSignInAccount | ||
| serverAuthCode : String
Returns a one-time server auth code to send to your web server which can be exchanged for access token. | GoogleSignInAccount | ||
| Method | Defined By | ||
|---|---|---|---|
| GoogleSignInAccount | |||
hasScope(scope:String):Boolean | GoogleSignInAccount | ||
| accessToken | property |
public var accessToken:StringThe OAuth2 access token to access Google services. iOS only.
| displayName | property |
public var displayName:StringReturns the display name of the signed in user. Will be present if `profile` scope was granted.
| property |
public var email:StringReturns the email address of the signed in user. Will be present if `email` scope was granted.
| familyName | property |
public var familyName:StringReturns the family name of the signed in user. Will be present if `profile` scope was granted.
| givenName | property |
public var givenName:StringReturns the given name of the signed in user. Will be present if `profile` scope was granted.
| grantedScopes | property |
public var grantedScopes:ArrayReturns all scopes that have been authorized to your application.
| id | property |
public var id:StringUnique ID for the Google account. Will be present if `openid` scope was granted.
| idToken | property |
public var idToken:StringReturns an ID token that you can send to your server. Will be present if client options requestIdToken is true.
| photoUrl | property |
public var photoUrl:StringReturns the photo url of the signed in user. Will be present if user has a profile picture and `profile` scope was granted.
| serverAuthCode | property |
public var serverAuthCode:StringReturns a one-time server auth code to send to your web server which can be exchanged for access token. Will be present if client options requestServerAuthCode is true.
| GoogleSignInAccount | () | Constructor |
public function GoogleSignInAccount()| hasScope | () | method |
public function hasScope(scope:String):BooleanParameters
scope:String |
Boolean |