]> git.mxchange.org Git - friendica.git/blobdiff - library/OAuth1.php
oauth: authorize
[friendica.git] / library / OAuth1.php
index 604945265f6f569c9dc3b7fdf24858c59762bfe2..3b211b146e79ec8f75e27a2f160ada974ef9c1d6 100644 (file)
@@ -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);