public class Google2Profile extends OAuth20Profile
This class is the user profile for Google (using OAuth protocol version 2) with appropriate getters.
It is returned by the Google2Client.
logger, SEPARATOR| Constructor and Description |
|---|
Google2Profile() |
| Modifier and Type | Method and Description |
|---|---|
Date |
getBirthday() |
String |
getDisplayName() |
String |
getEmail() |
List<Google2Email> |
getEmails() |
String |
getFamilyName() |
String |
getFirstName() |
Locale |
getLocale() |
URI |
getPictureUrl() |
URI |
getProfileUrl() |
clearSensitiveData, getAccessToken, setAccessTokengetGender, getLocation, getUsernameaddAttribute, addAttributes, addPermission, addPermissions, addRole, addRoles, addRoles, build, containsAttribute, getAttribute, getAttribute, getAttributes, getClientName, getId, getLinkedId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, removeAttribute, setClientName, setId, setLinkedId, setRemembered, toString, writeExternalpublic String getEmail()
getEmail in class CommonProfilepublic String getFirstName()
getFirstName in class CommonProfilepublic String getFamilyName()
getFamilyName in class CommonProfilepublic String getDisplayName()
getDisplayName in class CommonProfilepublic Locale getLocale()
getLocale in class CommonProfilepublic URI getPictureUrl()
getPictureUrl in class CommonProfilepublic URI getProfileUrl()
getProfileUrl in class CommonProfilepublic Date getBirthday()
public List<Google2Email> getEmails()
Copyright © 2017. All Rights Reserved.