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
addAttribute, 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, setRemembered, toString, writeExternal
public void setAccessToken(String accessToken)
accessToken
- the access token secretpublic String getAccessToken()
public void clearSensitiveData()
clearSensitiveData
in class UserProfile
Copyright © 2018. All rights reserved.