public function sOAuthServer::verify_request in jQuery social stream 7
Same name and namespace in other branches
- 7.2 jquery_social_stream.js.inc \sOAuthServer::verify_request()
verify an api call, checks all the parameters
File
- ./
jquery_social_stream.js.inc, line 876 - JS callbacks.
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,
);
}