abstract public function LingotekOAuthSignatureMethod::verify in Lingotek Translation 7.4
Same name and namespace in other branches
- 7.7 lib/oauth-php/library/signature_method/LingotekOAuthSignatureMethod.class.php \LingotekOAuthSignatureMethod::verify()
- 7.5 lib/oauth-php/library/signature_method/LingotekOAuthSignatureMethod.class.php \LingotekOAuthSignatureMethod::verify()
- 7.6 lib/oauth-php/library/signature_method/LingotekOAuthSignatureMethod.class.php \LingotekOAuthSignatureMethod::verify()
* Check if the request signature corresponds to the one calculated for the request. * *
Parameters
LingotekOAuthRequest 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 LingotekOAuthSignatureMethod::verify()
- LingotekOAuthSignatureMethod_HMAC_SHA1::verify in lib/
oauth-php/ library/ signature_method/ LingotekOAuthSignatureMethod_HMAC_SHA1.php - * Check if the request signature corresponds to the one calculated for the request. * *
- LingotekOAuthSignatureMethod_MD5::verify in lib/
oauth-php/ library/ signature_method/ LingotekOAuthSignatureMethod_MD5.php - * Check if the request signature corresponds to the one calculated for the request. * *
- LingotekOAuthSignatureMethod_PLAINTEXT::verify in lib/
oauth-php/ library/ signature_method/ LingotekOAuthSignatureMethod_PLAINTEXT.php - * Check if the request signature corresponds to the one calculated for the request. * *
- LingotekOAuthSignatureMethod_RSA_SHA1::verify in lib/
oauth-php/ library/ signature_method/ LingotekOAuthSignatureMethod_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/ LingotekOAuthSignatureMethod.class.php, line 63
Class
- LingotekOAuthSignatureMethod
- Interface for OAuth signature methods
Code
public abstract function verify($request, $base_string, $consumer_secret, $token_secret, $signature);