diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-11-07 17:36:41 +0100 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-11-07 17:36:41 +0100 |
commit | 10e5754e247e9adf7c576547c69d12ca09973c7a (patch) | |
tree | 567006262c37e7504e9f812c9cb3c8ee665d8c32 /library/OAuth1.php | |
parent | 967f8b575e8ea3f9710dfb092ff993459edc2ab8 (diff) | |
download | volse-hubzilla-10e5754e247e9adf7c576547c69d12ca09973c7a.tar.gz volse-hubzilla-10e5754e247e9adf7c576547c69d12ca09973c7a.tar.bz2 volse-hubzilla-10e5754e247e9adf7c576547c69d12ca09973c7a.zip |
oauth: authorize
Diffstat (limited to 'library/OAuth1.php')
-rw-r--r-- | library/OAuth1.php | 5 |
1 files changed, 5 insertions, 0 deletions
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__."<pre>"; var_dump($consumer); die(); $token = $this->get_token($request, $consumer, "access"); $this->check_signature($request, $consumer, $token); return array($consumer, $token); |