Class HMACSha1SignatureService

java.lang.Object
org.scribe.services.HMACSha1SignatureService
All Implemented Interfaces:
SignatureService

public class HMACSha1SignatureService extends Object implements SignatureService
HMAC-SHA1 implementation of
  • Constructor Details

    • HMACSha1SignatureService

      public HMACSha1SignatureService()
  • Method Details

    • getSignature

      public String getSignature(String baseString, String apiSecret, String tokenSecret)
      Returns the signature
      Specified by:
      getSignature in interface SignatureService
      Parameters:
      baseString - url-encoded string to sign
      apiSecret - api secret for your app
      tokenSecret - token secret (empty string for the request token step)
      Returns:
      signature
    • getSignatureMethod

      public String getSignatureMethod()
      Returns the signature method/algorithm
      Specified by:
      getSignatureMethod in interface SignatureService
      Returns: