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, setAccessToken
getGender, getLocation, getUsername
addAttribute, 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, writeExternal
public String getEmail()
CommonProfile
getEmail
in class CommonProfile
public String getFirstName()
CommonProfile
getFirstName
in class CommonProfile
public String getFamilyName()
CommonProfile
getFamilyName
in class CommonProfile
public String getDisplayName()
CommonProfile
getDisplayName
in class CommonProfile
public Locale getLocale()
CommonProfile
getLocale
in class CommonProfile
public URI getPictureUrl()
CommonProfile
getPictureUrl
in class CommonProfile
public URI getProfileUrl()
CommonProfile
getProfileUrl
in class CommonProfile
public Date getBirthday()
public List<Google2Email> getEmails()
Copyright © 2018. All rights reserved.