Apache CXF API

org.apache.cxf.rs.security.oauth2.tokens.bearer
Class BearerAccessToken

java.lang.Object
  extended by org.apache.cxf.rs.security.oauth2.common.AccessToken
      extended by org.apache.cxf.rs.security.oauth2.common.ServerAccessToken
          extended by org.apache.cxf.rs.security.oauth2.tokens.bearer.BearerAccessToken

public class BearerAccessToken
extends ServerAccessToken

Simple Bearer Access Token implementations


Constructor Summary
BearerAccessToken(Client client, long lifetime)
           
BearerAccessToken(Client client, String tokenKey, long lifetime, long issuedAt)
           
 
Method Summary
 
Methods inherited from class org.apache.cxf.rs.security.oauth2.common.ServerAccessToken
getClient, getGrantType, getLifetime, getScopes, getSubject, setGrantType, setScopes, setSubject
 
Methods inherited from class org.apache.cxf.rs.security.oauth2.common.AccessToken
getExpiresIn, getIssuedAt, getParameters, getRefreshToken, getTokenKey, getTokenType, setExpiresIn, setIssuedAt, setParameters, setRefreshToken
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BearerAccessToken

public BearerAccessToken(Client client,
                         long lifetime)

BearerAccessToken

public BearerAccessToken(Client client,
                         String tokenKey,
                         long lifetime,
                         long issuedAt)

Apache CXF API

Apache CXF