public abstract class OAuth20Profile extends CommonProfile
CommonProfile
. It deals with the OAuth
access token.USERNAME
logger, SEPARATOR
Constructor and Description |
---|
OAuth20Profile() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Removes any sensitive or unnecessary information held in the object.
|
String |
getAccessToken()
Return the access token.
|
void |
setAccessToken(String accessToken)
Set the access token
|
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
public void setAccessToken(String accessToken)
accessToken
- the access token secretpublic String getAccessToken()
public void clear()
Clearable
clear
in interface Clearable
clear
in class UserProfile
Copyright © 2016. All rights reserved.