public class ClientAccessToken extends AccessToken
AccessToken
.
It may contain the actual scope value assigned to the access token,
the refresh token key, and other properties such as when this token
will expire, etc.Constructor and Description |
---|
ClientAccessToken() |
ClientAccessToken(String tokenType,
String tokenKey) |
Modifier and Type | Method and Description |
---|---|
String |
getApprovedScope()
Gets the actual scope assigned to the access token.
|
void |
setApprovedScope(String approvedScope)
Sets the actual scope assigned to the access token.
|
String |
toString() |
getEncodedToken, getExpiresIn, getIssuedAt, getIssuer, getNotBefore, getParameters, getRefreshToken, getTokenKey, getTokenType, setEncodedToken, setExpiresIn, setIssuedAt, setIssuer, setNotBefore, setParameters, setRefreshToken, setTokenKey, setTokenType
public void setApprovedScope(String approvedScope)
approvedScope
- the actual scopepublic String getApprovedScope()
Apache CXF