diff options
author | Jaime Perez Crespo <jaime.perez@uninett.no> | 2015-04-21 10:23:45 +0200 |
---|---|---|
committer | Jaime Perez Crespo <jaime.perez@uninett.no> | 2015-04-21 10:23:45 +0200 |
commit | 720f08bbeb4bb94e61bd8c651f8f3a39f241d3fd (patch) | |
tree | cf5500c3af77b2627df33cb5b2d9a0e2b72feee1 /modules/oauth/lib/OAuthStore.php | |
parent | de5b9d081c4cd73bf60ccddb726b4b9adcca69f8 (diff) | |
download | simplesamlphp-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.php | 2 |
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; } |