public class CasOAuthWrapperProfile extends OAuth20Profile
This class is the user profile for sites using OAuth wrapper for CAS.
It is returned by the CasOAuthWrapperClient
.
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.
CasOAuthWrapperClient
,
Serialized FormUSERNAME
logger, SEPARATOR
Constructor and Description |
---|
CasOAuthWrapperProfile() |
clear, getAccessToken, setAccessToken
getDisplayName, getEmail, getFamilyName, getFirstName, getGender, getLocale, getLocation, getPictureUrl, getProfileUrl, getUsername
addAttribute, addAttributes, addPermission, addPermissions, addRole, addRoles, build, getAttribute, getAttribute, getAttributes, getAttributesDefinition, getId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, setId, setRemembered, toString, writeExternal
Copyright © 2016. All rights reserved.