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, getUsername, isExpiredaddAttribute, addAttributes, addAuthenticationAttribute, addAuthenticationAttributes, addPermission, addPermissions, addRole, 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, writeExternalclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasPrincipalpublic void setAccessToken(String accessToken)
accessToken - the access token secretpublic String getAccessToken()
public void clearSensitiveData()
clearSensitiveData in class BasicUserProfileCopyright © 2019. All rights reserved.