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 |
|---|---|
java.util.Date |
getBirthday() |
java.lang.String |
getDisplayName() |
java.lang.String |
getEmail() |
java.util.List<Google2Email> |
getEmails() |
java.lang.String |
getFamilyName() |
java.lang.String |
getFirstName() |
java.util.Locale |
getLocale() |
java.net.URI |
getPictureUrl() |
java.net.URI |
getProfileUrl() |
clearSensitiveData, getAccessToken, setAccessTokenasPrincipal, getGender, getLocation, getUsername, isExpiredaddAttribute, 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, setPermissions, setRemembered, setRoles, toString, writeExternalpublic java.lang.String getEmail()
getEmail in class CommonProfilepublic java.lang.String getFirstName()
getFirstName in class CommonProfilepublic java.lang.String getFamilyName()
getFamilyName in class CommonProfilepublic java.lang.String getDisplayName()
getDisplayName in class CommonProfilepublic java.util.Locale getLocale()
getLocale in class CommonProfilepublic java.net.URI getPictureUrl()
getPictureUrl in class CommonProfilepublic java.net.URI getProfileUrl()
getProfileUrl in class CommonProfilepublic java.util.Date getBirthday()
public java.util.List<Google2Email> getEmails()
Copyright © 2018. All Rights Reserved.