public function OAuthServer::verify_request in jQuery social stream 8.2
Same name and namespace in other branches
- 8 src/Twitter/OAuthServer.php \Drupal\jquery_social_stream\Twitter\OAuthServer::verify_request()
verify an api call, checks all the parameters
File
- src/
Twitter/ OAuthServer.php, line 68
Class
Namespace
Drupal\jquery_social_stream\TwitterCode
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,
);
}