public class Google2Profile extends OAuth20Profile
Google2Client.
| Method : | From the JSON profile response : |
|---|---|
The attributes of the CommonProfile |
|
| String getEmail() | the email attribute |
| String getFirstName() | the given_name attribute |
| String getFamilyName() | the family_name attribute |
| String getDisplayName() | the name attribute |
| String getUsername() | null |
| Gender getGender() | the gender attribute |
| Locale getLocale() | the locale attribute |
| String getPictureUrl() | the picture attribute |
| String getProfileUrl() | the link attribute |
| String getLocation() | null |
| More specific attributes | |
| Boolean getVerifiedEmail() | the verified_email attribute |
| Date getBirthday() | the birthday attribute |
Google2Client,
Serialized FormUSERNAMElogger, SEPARATOR| Constructor and Description |
|---|
Google2Profile() |
| Modifier and Type | Method and Description |
|---|---|
protected AttributesDefinition |
getAttributesDefinition() |
Date |
getBirthday() |
String |
getDisplayName() |
String |
getFirstName() |
String |
getPictureUrl() |
String |
getProfileUrl() |
Boolean |
getVerifiedEmail() |
getAccessToken, setAccessTokengetEmail, getFamilyName, getGender, getLocale, getLocation, getUsernameaddAttribute, addAttributes, addPermission, addRole, build, getAttribute, getAttributes, getId, getPermissions, getRoles, getTypedId, isRemembered, setId, setRemembered, toStringprotected AttributesDefinition getAttributesDefinition()
getAttributesDefinition in class UserProfilepublic String getFirstName()
getFirstName in class CommonProfilepublic String getDisplayName()
getDisplayName in class CommonProfilepublic String getPictureUrl()
getPictureUrl in class CommonProfilepublic String getProfileUrl()
getProfileUrl in class CommonProfilepublic Boolean getVerifiedEmail()
public Date getBirthday()
Copyright © 2014. All Rights Reserved.