|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.rs.security.oauth2.common.AccessToken
org.apache.cxf.rs.security.oauth2.common.ClientAccessToken
public class ClientAccessToken
Represents the extended client view of 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 Summary | |
|---|---|
ClientAccessToken(String tokenType,
String tokenKey)
|
|
| Method Summary | |
|---|---|
String |
getApprovedScope()
Gets the actual scope assigned to the access token. |
long |
getExpiresIn()
The token lifetime |
String |
getRefreshToken()
Gets the refresh token key the client can use to obtain a new access token |
void |
setApprovedScope(String approvedScope)
Sets the actual scope assigned to the access token. |
void |
setExpiresIn(long expiresIn)
|
void |
setRefreshToken(String refreshToken)
Sets the refresh token key the client can use to obtain a new access token |
| Methods inherited from class org.apache.cxf.rs.security.oauth2.common.AccessToken |
|---|
getParameters, getTokenKey, getTokenType, setParameters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClientAccessToken(String tokenType,
String tokenKey)
| Method Detail |
|---|
public void setApprovedScope(String approvedScope)
approvedScope - the actual scopepublic String getApprovedScope()
public void setRefreshToken(String refreshToken)
refreshToken - the refresh tokenpublic String getRefreshToken()
public long getExpiresIn()
public void setExpiresIn(long expiresIn)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||