summaryrefslogtreecommitdiffstats
path: root/modules/oauth/lib/OAuthStore.php
diff options
context:
space:
mode:
authorJaime Perez Crespo <jaime.perez@uninett.no>2015-04-21 10:23:45 +0200
committerJaime Perez Crespo <jaime.perez@uninett.no>2015-04-21 10:23:45 +0200
commit720f08bbeb4bb94e61bd8c651f8f3a39f241d3fd (patch)
treecf5500c3af77b2627df33cb5b2d9a0e2b72feee1 /modules/oauth/lib/OAuthStore.php
parentde5b9d081c4cd73bf60ccddb726b4b9adcca69f8 (diff)
downloadsimplesamlphp-720f08bbeb4bb94e61bd8c651f8f3a39f241d3fd.zip
simplesamlphp-720f08bbeb4bb94e61bd8c651f8f3a39f241d3fd.tar.gz
simplesamlphp-720f08bbeb4bb94e61bd8c651f8f3a39f241d3fd.tar.bz2
Remove commented code.
Diffstat (limited to 'modules/oauth/lib/OAuthStore.php')
-rw-r--r--modules/oauth/lib/OAuthStore.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/oauth/lib/OAuthStore.php b/modules/oauth/lib/OAuthStore.php
index 4e6960a..6a239a6 100644
--- a/modules/oauth/lib/OAuthStore.php
+++ b/modules/oauth/lib/OAuthStore.php
@@ -111,7 +111,6 @@ class sspmod_oauth_OAuthStore extends OAuthDataStore {
$callback = NULL;
if ($consumer['value']['callback_url']) $callback = $consumer['value']['callback_url'];
- // SimpleSAML_Logger::info('OAuth consumer dump(' . var_export($consumer, TRUE) . ')');
if ($consumer['value']['RSAcertificate']) {
return new OAuthConsumer($consumer['value']['key'], $consumer['value']['RSAcertificate'], $callback);
} else {
@@ -159,7 +158,6 @@ class sspmod_oauth_OAuthStore extends OAuthDataStore {
function new_access_token($requestToken, $consumer, $verifier = null) {
SimpleSAML_Logger::info('OAuth new_access_token(' . $requestToken . ',' . $consumer . ')');
$accestoken = new OAuthToken(SimpleSAML\Utils\Random::generateID(), SimpleSAML\Utils\Random::generateID());
- // SimpleSAML_Logger::info('OAuth new_access_token(' . $requestToken . ',' . $consumer . ',' . $accestoken . ')');
$this->store->set('access', $accestoken->key, $consumer->key, $accestoken, $this->config->getValue('accessTokenDuration', 60*60*24) );
return $accestoken;
}