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
All Implemented Interfaces:
Serializable

public class BearerAccessToken
extends ServerAccessToken

Simple Bearer Access Token implementations

See Also:
Serialized Form

Constructor Summary
BearerAccessToken()
           
BearerAccessToken(Client client, long lifetime)
           
BearerAccessToken(Client client, String tokenKey, long lifetime, long issuedAt)
           
BearerAccessToken(ServerAccessToken token, String newKey)
           
 
Method Summary
 
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
 

Constructor Detail

BearerAccessToken

public BearerAccessToken(Client client,
                         long lifetime)

BearerAccessToken

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

BearerAccessToken

public BearerAccessToken(ServerAccessToken token,
                         String newKey)

BearerAccessToken

public BearerAccessToken()

Apache CXF API

Apache CXF