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()
Deprecated.
|
String |
getDisplayName()
Return the displayed name of the user.
|
List<Google2Email> |
getEmails()
Deprecated.
|
Boolean |
getEmailVerified() |
String |
getFirstName()
Return the first name 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
asPrincipal, getEmail, getFamilyName, getGender, getLocale, getLocation, getUsername, isExpired
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, setPermissions, setRemembered, setRoles, toString, writeExternal
public Boolean getEmailVerified()
public String getFirstName()
CommonProfile
getFirstName
in class CommonProfile
public String getDisplayName()
CommonProfile
getDisplayName
in class CommonProfile
public URI getPictureUrl()
CommonProfile
getPictureUrl
in class CommonProfile
public URI getProfileUrl()
CommonProfile
getProfileUrl
in class CommonProfile
@Deprecated public Date getBirthday()
@Deprecated public List<Google2Email> getEmails()
Copyright © 2019. All rights reserved.