You are here

abstract public function OAuthSignatureMethod::signature in Lingotek Translation 7.3

Same name and namespace in other branches
  1. 7.2 lib/oauth-php/library/signature_method/OAuthSignatureMethod.class.php \OAuthSignatureMethod::signature()

* Return the signature for the given request * *

Parameters

OAuthRequest request: * @param string base_string * @param string consumer_secret * @param string token_secret * @return string

4 methods override OAuthSignatureMethod::signature()
OAuthSignatureMethod_HMAC_SHA1::signature in lib/oauth-php/library/signature_method/OAuthSignatureMethod_HMAC_SHA1.php
* Calculate the signature using HMAC-SHA1 * This function is copyright Andy Smith, 2007. * *
OAuthSignatureMethod_MD5::signature in lib/oauth-php/library/signature_method/OAuthSignatureMethod_MD5.php
* Calculate the signature using MD5 * Binary md5 digest, as distinct from PHP's built-in hexdigest. * This function is copyright Andy Smith, 2007. * *
OAuthSignatureMethod_PLAINTEXT::signature in lib/oauth-php/library/signature_method/OAuthSignatureMethod_PLAINTEXT.php
* Calculate the signature using PLAINTEXT * *
OAuthSignatureMethod_RSA_SHA1::signature in lib/oauth-php/library/signature_method/OAuthSignatureMethod_RSA_SHA1.php
* Calculate the signature using RSA-SHA1 * This function is copyright Andy Smith, 2008. * *

File

lib/oauth-php/library/signature_method/OAuthSignatureMethod.class.php, line 51

Class

OAuthSignatureMethod
Interface for OAuth signature methods

Code

public abstract function signature($request, $base_string, $consumer_secret, $token_secret);