public class OkProfile extends OAuth20Profile
Modifier and Type | Field and Description |
---|---|
static String |
BASE_PROFILE_URL |
logger, SEPARATOR
Constructor and Description |
---|
OkProfile() |
Modifier and Type | Method and Description |
---|---|
AttributesDefinition |
getAttributesDefinition()
Return the attributes definition for this user profile.
|
String |
getDisplayName()
Return the displayed name of the user.
|
String |
getFamilyName()
Return the family name of the user.
|
String |
getFirstName()
Return the first name of the user.
|
Gender |
getGender()
Return the gender of the user.
|
Locale |
getLocale()
Return the locale of the user.
|
String |
getLocation()
Return the location of the user.
|
String |
getPictureUrl()
Return the url of the picture of the user.
|
String |
getProfileUrl()
Return the url of the profile of the user.
|
String |
getUsername()
Return the username of the user.
|
clearSensitiveData, getAccessToken, setAccessToken
getEmail
addAttribute, addAttributes, addPermission, addPermissions, addPermissions, addRole, addRoles, addRoles, build, getAttribute, getAttribute, getAttributes, getClientName, getId, getOldTypedId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, removeAttribute, setClientName, setId, setRemembered, toString, writeExternal
public static final String BASE_PROFILE_URL
public AttributesDefinition getAttributesDefinition()
UserProfile
null
for a (generic) user profile.getAttributesDefinition
in class UserProfile
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 String getUsername()
CommonProfile
getUsername
in class CommonProfile
public Gender getGender()
CommonProfile
getGender
in class CommonProfile
public Locale getLocale()
CommonProfile
getLocale
in class CommonProfile
public String getPictureUrl()
CommonProfile
getPictureUrl
in class CommonProfile
public String getProfileUrl()
CommonProfile
getProfileUrl
in class CommonProfile
public String getLocation()
CommonProfile
getLocation
in class CommonProfile
Copyright © 2016. All rights reserved.