Apache CXF API

org.apache.cxf.rs.security.oauth2.tokens.hawk
Class HawkAccessToken

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

public class HawkAccessToken
extends ServerAccessToken

See Also:
Serialized Form

Constructor Summary
HawkAccessToken(Client client, HmacAlgorithm macAlgo, long lifetime)
           
HawkAccessToken(Client client, HmacAlgorithm algo, String tokenKey, long lifetime, long issuedAt)
           
HawkAccessToken(Client client, HmacAlgorithm algo, String tokenKey, String macKey, long lifetime, long issuedAt)
           
HawkAccessToken(Client client, long lifetime)
           
HawkAccessToken(Client client, String macAuthAlgo, long lifetime)
           
HawkAccessToken(ServerAccessToken token, String newKey)
           
 
Method Summary
 String getMacAlgorithm()
           
 String getMacId()
           
 String getMacKey()
           
 
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

HawkAccessToken

public HawkAccessToken(Client client,
                       long lifetime)

HawkAccessToken

public HawkAccessToken(Client client,
                       String macAuthAlgo,
                       long lifetime)

HawkAccessToken

public HawkAccessToken(Client client,
                       HmacAlgorithm macAlgo,
                       long lifetime)

HawkAccessToken

public HawkAccessToken(Client client,
                       HmacAlgorithm algo,
                       String tokenKey,
                       long lifetime,
                       long issuedAt)

HawkAccessToken

public HawkAccessToken(Client client,
                       HmacAlgorithm algo,
                       String tokenKey,
                       String macKey,
                       long lifetime,
                       long issuedAt)

HawkAccessToken

public HawkAccessToken(ServerAccessToken token,
                       String newKey)
Method Detail

getMacId

public String getMacId()

getMacKey

public String getMacKey()

getMacAlgorithm

public String getMacAlgorithm()

Apache CXF API

Apache CXF