public class OAuth20Profile extends CommonProfile
CommonProfile. It deals with the OAuth
access token.logger, SEPARATOR| Constructor and Description |
|---|
OAuth20Profile() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearSensitiveData() |
String |
getAccessToken()
Return the access token.
|
void |
setAccessToken(String accessToken)
Set the access token
|
getDisplayName, getEmail, getFamilyName, getFirstName, getGender, getLocale, getLocation, getPictureUrl, getProfileUrl, getUsernameaddAttribute, addAttributes, addPermission, addPermissions, addRole, addRoles, addRoles, build, containsAttribute, getAttribute, getAttribute, getAttributes, getClientName, getId, getLinkedId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, removeAttribute, setClientName, setId, setLinkedId, setRemembered, toString, writeExternalpublic void setAccessToken(String accessToken)
accessToken - the access token secretpublic String getAccessToken()
public void clearSensitiveData()
clearSensitiveData in class UserProfileCopyright © 2017. All Rights Reserved.