org.apache.cxf.rs.security.oauth2.tokens.hawk
Class HawkAccessToken
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.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)
|
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 |
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)
getMacId
public String getMacId()
getMacKey
public String getMacKey()
getMacAlgorithm
public String getMacAlgorithm()
Apache CXF