Package org.scribe.services
Interface SignatureService
- All Known Implementing Classes:
HMACSha1SignatureService
,PlaintextSignatureService
,RSASha1SignatureService
public interface SignatureService
Signs a base string, returning the OAuth signature
-
Method Summary
Modifier and TypeMethodDescriptiongetSignature
(String baseString, String apiSecret, String tokenSecret) Returns the signatureReturns the signature method/algorithm
-
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()Returns the signature method/algorithm- Returns:
-