All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.scribe.services.SignatureService Maven / Gradle / Ivy

There is a newer version: 2024.11.18751.20241128T090041Z-241100
Show newest version
package org.scribe.services;

/**
 * Signs a base string, returning the OAuth signature
 * 
 * @author Pablo Fernandez
 *
 */
public interface SignatureService
{
  /**
   * Returns the signature
   * 
   * @param baseString url-encoded string to sign
   * @param apiSecret api secret for your app
   * @param tokenSecret token secret (empty string for the request token step)
   * 
   * @return signature
   */
  public String getSignature(String baseString, String apiSecret, String tokenSecret);

  /**
   * Returns the signature method/algorithm
   * 
   * @return
   */
  public String getSignatureMethod();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy