public class HttpProfile extends CommonProfile
This class is the user profile for sites using HTTP protocol.
It is returned by the FormClient
or the IndirectBasicAuthClient
.
Method : | From the JSON profile response : |
---|---|
The attributes of the CommonProfile |
|
String getEmail() | the email attribute |
String getFirstName() | the first_name attribute |
String getFamilyName() | the last_name attribute |
String getDisplayName() | the display_name attribute |
String getUsername() | the username attribute |
Gender getGender() | the gender attribute |
Locale getLocale() | the locale attribute |
String getPictureUrl() | the picture_url attribute |
String getProfileUrl() | the profile_url attribute |
String getLocation() | the location attribute |
All other attributes must be retrieved using the UserProfile.getAttributes()
method.
FormClient
,
IndirectBasicAuthClient
,
Serialized FormUSERNAME
logger, SEPARATOR
Constructor and Description |
---|
HttpProfile() |
getDisplayName, getEmail, getFamilyName, getFirstName, getGender, getLocale, getLocation, getPictureUrl, getProfileUrl, getUsername
addAttribute, addAttributes, addPermission, addPermissions, addRole, addRoles, build, clear, getAttribute, getAttribute, getAttributes, getAttributesDefinition, getId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, setId, setRemembered, toString, writeExternal
Copyright © 2016. All rights reserved.