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()
Deprecated.
|
java.lang.String |
getDisplayName() |
java.util.List<Google2Email> |
getEmails()
Deprecated.
|
java.lang.Boolean |
getEmailVerified() |
java.lang.String |
getFirstName() |
java.net.URI |
getPictureUrl() |
java.net.URI |
getProfileUrl() |
clearSensitiveData, getAccessToken, setAccessTokenasPrincipal, getEmail, getFamilyName, getGender, getLocale, 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.Boolean getEmailVerified()
public java.lang.String getFirstName()
getFirstName in class CommonProfilepublic java.lang.String getDisplayName()
getDisplayName in class CommonProfilepublic java.net.URI getPictureUrl()
getPictureUrl in class CommonProfilepublic java.net.URI getProfileUrl()
getProfileUrl in class CommonProfile@Deprecated public java.util.Date getBirthday()
@Deprecated public java.util.List<Google2Email> getEmails()
Copyright © 2019. All Rights Reserved.