Class HMACSha1SignatureService
java.lang.Object
com.github.scribejava.core.services.HMACSha1SignatureService
- All Implemented Interfaces:
SignatureService
HMAC-SHA1 implementation of
SignatureService
https://tools.ietf.org/html/rfc5849#section-3.4.2-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSignature
(String baseString, String apiSecret, String tokenSecret) Returns the signature
-
Constructor Details
-
HMACSha1SignatureService
public HMACSha1SignatureService()
-
-
Method Details
-
getSignature
Returns the signature- Specified by:
getSignature
in interfaceSignatureService
- Parameters:
baseString
- url-encoded string to signapiSecret
- api secret for your apptokenSecret
- token secret (empty string for the request token step)- Returns:
- signature
-
getSignatureMethod
- Specified by:
getSignatureMethod
in interfaceSignatureService
-