From ea46bdec892327681141b2ebdb82810f5d04ea80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no> Date: Fri, 21 Aug 2009 07:46:16 +0000 Subject: [PATCH] Oauth fix header text in phpdoc git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1706 44740490-163a-0410-bde0-09ae8108e29a --- modules/oauth/lib/Consumer.php | 4 +++- modules/oauth/lib/OAuthStore.php | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/oauth/lib/Consumer.php b/modules/oauth/lib/Consumer.php index 6c80ad8d7..615bd3fac 100644 --- a/modules/oauth/lib/Consumer.php +++ b/modules/oauth/lib/Consumer.php @@ -36,6 +36,8 @@ class sspmod_oauth_Consumer { if(array_key_exists('error', $responseParsed)) throw new Exception('Error getting request token: ') . $responseParsed['error']; +# echo('<pre>'); print_r($response_req); exit; + $requestToken = $responseParsed['oauth_token']; $requestTokenSecret = $responseParsed['oauth_token_secret']; @@ -82,7 +84,7 @@ class sspmod_oauth_Consumer { $data_req->sign_request($this->signer, $this->consumer, $accessToken); $data = file_get_contents($data_req->to_url()); - // print_r($data); + #print_r($data); $dataDecoded = json_decode($data, TRUE); return $dataDecoded; diff --git a/modules/oauth/lib/OAuthStore.php b/modules/oauth/lib/OAuthStore.php index 307a8ec61..765b93a83 100644 --- a/modules/oauth/lib/OAuthStore.php +++ b/modules/oauth/lib/OAuthStore.php @@ -3,7 +3,7 @@ require_once(dirname(dirname(__FILE__)) . '/libextinc/OAuth.php'); /** - * OAuth Provider implementation.. + * OAuth Store * * @author Andreas Ă…kre Solberg, <andreas.solberg@uninett.no>, UNINETT AS. * @package simpleSAMLphp -- GitLab