Packagecom.tuarua.google.signin
Classpublic class GoogleSignInAccount
InheritanceGoogleSignInAccount Inheritance Object

GoogleSignIn account information



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined By
  
GoogleSignInAccount
  
hasScope(scope:String):Boolean
GoogleSignInAccount
Property Detail
accessTokenproperty
public var accessToken:String

The OAuth2 access token to access Google services. iOS only.

displayNameproperty 
public var displayName:String

Returns the display name of the signed in user. Will be present if `profile` scope was granted.

emailproperty 
public var email:String

Returns the email address of the signed in user. Will be present if `email` scope was granted.

familyNameproperty 
public var familyName:String

Returns the family name of the signed in user. Will be present if `profile` scope was granted.

givenNameproperty 
public var givenName:String

Returns the given name of the signed in user. Will be present if `profile` scope was granted.

grantedScopesproperty 
public var grantedScopes:Array

Returns all scopes that have been authorized to your application.

idproperty 
public var id:String

Unique ID for the Google account. Will be present if `openid` scope was granted.

idTokenproperty 
public var idToken:String

Returns an ID token that you can send to your server. Will be present if client options requestIdToken is true.

photoUrlproperty 
public var photoUrl:String

Returns the photo url of the signed in user. Will be present if user has a profile picture and `profile` scope was granted.

serverAuthCodeproperty 
public var serverAuthCode:String

Returns 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.

Constructor Detail
GoogleSignInAccount()Constructor
public function GoogleSignInAccount()



Method Detail
hasScope()method
public function hasScope(scope:String):Boolean

Parameters

scope:String

Returns
Boolean