public class GenericOAuth20Profile extends OAuth20Profile
This is the user profile for the generic OAuth 2.0 client.
It is returned by the GenericOAuth20Client
logger, SEPARATOR
Constructor and Description |
---|
GenericOAuth20Profile() |
Modifier and Type | Method and Description |
---|---|
AttributesDefinition |
getAttributesDefinition()
Return the attributes definition for this user profile.
|
void |
setAttributesDefinition(AttributesDefinition attributes)
Used to set a custom AttributesDefinition.
|
clearSensitiveData, getAccessToken, setAccessToken
getDisplayName, getEmail, getFamilyName, getFirstName, getGender, getLocale, getLocation, getPictureUrl, getProfileUrl, getUsername
addAttribute, addAttributes, addPermission, addPermissions, addPermissions, addRole, addRoles, addRoles, build, containsAttribute, getAttribute, getAttribute, getAttributes, getClientName, getId, getOldTypedId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, removeAttribute, setClientName, setId, setRemembered, toString, writeExternal
public AttributesDefinition getAttributesDefinition()
UserProfile
null
for a (generic) user profile.getAttributesDefinition
in class UserProfile
public void setAttributesDefinition(AttributesDefinition attributes)
attributes
- the attributes definitionCopyright © 2017. All rights reserved.