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() |
java.lang.String |
getAccessToken()
Return the access token.
|
void |
setAccessToken(java.lang.String accessToken)
Set the access token
|
asPrincipal, getDisplayName, getEmail, getFamilyName, getFirstName, getGender, getLocale, getLocation, getPictureUrl, getProfileUrl, getUsername, isExpiredaddAttribute, addAttributes, addAuthenticationAttribute, addAuthenticationAttributes, addPermission, addPermissions, addRole, addRoles, addRoles, build, build, containsAttribute, containsAuthenicationAttribute, getAttribute, getAttribute, getAttributes, getAuthenticationAttribute, getAuthenticationAttribute, getAuthenticationAttributes, getClientName, getId, getLinkedId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, removeAttribute, removeAuthenticationAttribute, setClientName, setId, setLinkedId, setPermissions, setRemembered, setRoles, toString, writeExternalpublic void setAccessToken(java.lang.String accessToken)
accessToken - the access token secretpublic java.lang.String getAccessToken()
public void clearSensitiveData()
clearSensitiveData in class UserProfileCopyright © 2018. All Rights Reserved.