public interface

OAuthSigner

com.google.gdata.client.authn.oauth.OAuthSigner
Known Indirect Subclasses

Class Overview

Interface for signing OAuth requests.

Summary

Public Methods
abstract String getSignature(String baseString, OAuthParameters oauthParameters)
Signs the input string using the appropriate signature method.
abstract String getSignatureMethod()
Gets the signature method for this specific implementation.

Public Methods

public abstract String getSignature (String baseString, OAuthParameters oauthParameters)

Signs the input string using the appropriate signature method.

Parameters
baseString The string to sign
oauthParameters The parameters related to the OAuth request or null
Returns
  • the signed string
Throws
OAuthException if signing the request fails

public abstract String getSignatureMethod ()

Gets the signature method for this specific implementation.

Returns
  • the signature method used to sign the base string