diff --git a/modules/oauth/lib/Consumer.php b/modules/oauth/lib/Consumer.php index 6c80ad8d76f0aed7a016fd153d1534c221da069b..615bd3facd58e2e0b44122f4f08c095a95c548bb 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 307a8ec61869f98757844c211e2931c22bae4b27..765b93a8369a78163d0a52c9dcc75d903318f996 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