You are here

public function OAuthSignatureMethod::check_signature in OAuth 1.0 6

Same name and namespace in other branches
  1. 6.3 lib/OAuth.php \OAuthSignatureMethod::check_signature()
  2. 7.3 lib/OAuth.php \OAuthSignatureMethod::check_signature()
1 method overrides OAuthSignatureMethod::check_signature()
OAuthSignatureMethod_RSA_SHA1::check_signature in ./OAuth.php

File

./OAuth.php, line 50

Class

OAuthSignatureMethod

Code

public function check_signature(&$request, $consumer, $token, $signature) {
  $built = $this
    ->build_signature($request, $consumer, $token);
  return $built == $signature;
}