|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oauth.signpost.AbstractOAuthConsumer play.libs.OAuth.OAuthCalculator
public static class OAuth.OAuthCalculator
A signature calculator for the Play WS API. Example: {{{ WS.url("http://example.com/protected").sign(OAuthCalculator(service, tokens)).get() }}}
Constructor Summary | |
---|---|
OAuth.OAuthCalculator(OAuth.ConsumerKey consumerKey,
OAuth.RequestToken token)
|
Method Summary | |
---|---|
void |
sign(WS.WSRequest request)
Sign a request |
protected oauth.signpost.http.HttpRequest |
wrap(java.lang.Object request)
|
Methods inherited from class oauth.signpost.AbstractOAuthConsumer |
---|
collectBodyParameters, collectHeaderParameters, collectQueryParameters, completeOAuthParameters, generateNonce, generateTimestamp, getConsumerKey, getConsumerSecret, getRequestParameters, getToken, getTokenSecret, setAdditionalParameters, setMessageSigner, setSendEmptyTokens, setSigningStrategy, setTokenWithSecret, sign, sign, sign |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OAuth.OAuthCalculator(OAuth.ConsumerKey consumerKey, OAuth.RequestToken token)
Method Detail |
---|
protected oauth.signpost.http.HttpRequest wrap(java.lang.Object request)
wrap
in class oauth.signpost.AbstractOAuthConsumer
public void sign(WS.WSRequest request)
WS.SignatureCalculator
sign
in interface WS.SignatureCalculator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |