Interface SignatureService
- All Known Implementing Classes:
HMACSha1SignatureService
,PlaintextSignatureService
,RSASha1SignatureService
public interface SignatureService
Signs a base string, returning the OAuth signature https://tools.ietf.org/html/rfc5849#section-3.4
-
Method Summary
Modifier and TypeMethodDescriptiongetSignature
(String baseString, String apiSecret, String tokenSecret) Returns the signature
-
Method Details
-
getSignature
Returns the signature- Parameters:
baseString
- url-encoded string to signapiSecret
- api secret for your apptokenSecret
- token secret (empty string for the request token step)- Returns:
- signature
-
getSignatureMethod
String getSignatureMethod()
-