X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=library%2FOAuth1.php;h=0db6fabcbe8c490f06885e3213d465712ee642e8;hb=4fd1a17f0662d089d2d729aabdf04a883464ab05;hp=604945265f6f569c9dc3b7fdf24858c59762bfe2;hpb=ff7fc68382bf1359adc31bd65bb6786b7f63e31a;p=friendica.git diff --git a/library/OAuth1.php b/library/OAuth1.php index 604945265f..0db6fabcbe 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 @@ -285,7 +289,7 @@ class OAuthRequest { } } - // fix for friendika redirect system + // fix for friendica redirect system $http_url = substr($http_url, 0, strpos($http_url,$parameters['q'])+strlen($parameters['q'])); unset( $parameters['q'] ); @@ -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);