From 10e5754e247e9adf7c576547c69d12ca09973c7a Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Mon, 7 Nov 2011 17:36:41 +0100 Subject: oauth: authorize --- library/OAuth1.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'library') diff --git a/library/OAuth1.php b/library/OAuth1.php index 604945265..3b211b146 100644 --- a/library/OAuth1.php +++ b/library/OAuth1.php @@ -27,6 +27,10 @@ class OAuthToken { public $key; public $secret; + public $expires; + public $scope; + public $uid; + /** * key = the token * secret = the token secret @@ -552,6 +556,7 @@ class OAuthServer { public function verify_request(&$request) { $this->get_version($request); $consumer = $this->get_consumer($request); + //echo __file__.__line__.__function__."
"; var_dump($consumer); die();
     $token = $this->get_token($request, $consumer, "access");
     $this->check_signature($request, $consumer, $token);
     return array($consumer, $token);
-- 
cgit v1.2.3