public function OAuthServer::verify_request in OAuth 1.0 6.3
Same name and namespace in other branches
- 6 OAuth.php \OAuthServer::verify_request()
- 7.3 lib/OAuth.php \OAuthServer::verify_request()
verify an api call, checks all the parameters
File
- lib/
OAuth.php, line 570 - OAuth 1.0 server and client library.
Class
Code
public function verify_request(&$request) {
$this
->get_version($request);
$consumer = $this
->get_consumer($request);
$token = $this
->get_token($request, $consumer, "access");
$this
->check_signature($request, $consumer, $token);
return array(
$consumer,
$token,
);
}