org.apache.cxf.rs.security.oauth2.tokens.refresh
Class RefreshToken
java.lang.Object
org.apache.cxf.rs.security.oauth2.common.AccessToken
org.apache.cxf.rs.security.oauth2.common.ServerAccessToken
org.apache.cxf.rs.security.oauth2.tokens.refresh.RefreshToken
- All Implemented Interfaces:
- Serializable
public class RefreshToken
- extends ServerAccessToken
Simple Refresh Token implementation
- See Also:
- Serialized Form
Methods inherited from class org.apache.cxf.rs.security.oauth2.common.ServerAccessToken |
getAudience, getClient, getGrantType, getScopes, getSubject, setAudience, setClient, setGrantType, setScopes, setSubject, validateTokenType |
Methods inherited from class org.apache.cxf.rs.security.oauth2.common.AccessToken |
getExpiresIn, getIssuedAt, getParameters, getRefreshToken, getTokenKey, getTokenType, setExpiresIn, setIssuedAt, setParameters, setRefreshToken, setTokenKey, setTokenType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RefreshToken
public RefreshToken(Client client,
long lifetime)
RefreshToken
public RefreshToken(Client client,
String tokenKey,
long lifetime,
long issuedAt)
RefreshToken
public RefreshToken(ServerAccessToken token,
String key,
List<String> accessTokens)
RefreshToken
public RefreshToken()
getAccessTokens
public List<String> getAccessTokens()
setAccessTokens
public void setAccessTokens(List<String> accessTokens)
addAccessToken
public void addAccessToken(String token)
removeAccessToken
public boolean removeAccessToken(String token)
Apache CXF