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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getSignature(java.lang.String baseString, java.lang.String apiSecret, java.lang.String tokenSecret)
Returns the signaturejava.lang.String
getSignatureMethod()
Returns the signature method/algorithm
-
-
-
Method Detail
-
getSignature
java.lang.String getSignature(java.lang.String baseString, java.lang.String apiSecret, java.lang.String tokenSecret)
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
java.lang.String getSignatureMethod()
Returns the signature method/algorithm- Returns:
-
-