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()
Return the displayed name of the user.
|
String |
getEmail()
Return the email of the user.
|
List<Google2Email> |
getEmails() |
String |
getFamilyName()
Return the family name of the user.
|
String |
getFirstName()
Return the first name of the user.
|
Locale |
getLocale()
Return the locale of the user.
|
URI |
getPictureUrl()
Return the url of the picture of the user.
|
URI |
getProfileUrl()
Return the url of the profile of the user.
|
clearSensitiveData, getAccessToken, setAccessTokengetGender, getLocation, getUsernameaddAttribute, addAttributes, addAuthenticationAttribute, addAuthenticationAttributes, addPermission, addPermissions, addRole, addRoles, addRoles, build, build, containsAttribute, containsAuthenicationAttribute, getAttribute, getAttribute, getAttributes, getAuthenticationAttribute, getAuthenticationAttribute, getAuthenticationAttributes, getClientName, getId, getLinkedId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, removeAttribute, removeAuthenticationAttribute, setClientName, setId, setLinkedId, setRemembered, toString, writeExternalpublic String getEmail()
CommonProfilegetEmail in class CommonProfilepublic String getFirstName()
CommonProfilegetFirstName in class CommonProfilepublic String getFamilyName()
CommonProfilegetFamilyName in class CommonProfilepublic String getDisplayName()
CommonProfilegetDisplayName in class CommonProfilepublic Locale getLocale()
CommonProfilegetLocale in class CommonProfilepublic URI getPictureUrl()
CommonProfilegetPictureUrl in class CommonProfilepublic URI getProfileUrl()
CommonProfilegetProfileUrl in class CommonProfilepublic Date getBirthday()
public List<Google2Email> getEmails()
Copyright © 2018. All rights reserved.