You are here

abstract public function OAuthSignatureMethod::verify in Lingotek Translation 7.2

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

* Check if the request signature corresponds to the one calculated for the request. * *

Parameters

OAuthRequest request: * @param string base_string data to be signed, usually the base string, can be a request body * @param string consumer_secret * @param string token_secret * @param string signature from the request, still urlencoded * @return string

4 methods override OAuthSignatureMethod::verify()
OAuthSignatureMethod_HMAC_SHA1::verify in lib/oauth-php/library/signature_method/OAuthSignatureMethod_HMAC_SHA1.php
* Check if the request signature corresponds to the one calculated for the request. * *
OAuthSignatureMethod_MD5::verify in lib/oauth-php/library/signature_method/OAuthSignatureMethod_MD5.php
* Check if the request signature corresponds to the one calculated for the request. * *
OAuthSignatureMethod_PLAINTEXT::verify in lib/oauth-php/library/signature_method/OAuthSignatureMethod_PLAINTEXT.php
* Check if the request signature corresponds to the one calculated for the request. * *
OAuthSignatureMethod_RSA_SHA1::verify in lib/oauth-php/library/signature_method/OAuthSignatureMethod_RSA_SHA1.php
* Check if the request signature is the same as the one calculated for the request. * *

File

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

Class

OAuthSignatureMethod
Interface for OAuth signature methods

Code

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