diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/authwindowslive/lib/Auth/Source/LiveID.php | 4 | ||||
-rw-r--r-- | modules/core/lib/Stats/Output/Log.php | 2 | ||||
-rw-r--r-- | modules/negotiate/docs/negotiate.md | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/modules/authwindowslive/lib/Auth/Source/LiveID.php b/modules/authwindowslive/lib/Auth/Source/LiveID.php index c52505a..8de392c 100644 --- a/modules/authwindowslive/lib/Auth/Source/LiveID.php +++ b/modules/authwindowslive/lib/Auth/Source/LiveID.php @@ -77,7 +77,7 @@ class sspmod_authwindowslive_Auth_Source_LiveID extends SimpleSAML_Auth_Source . '?client_id=' . $this->key . '&response_type=code' . '&response_mode=query' - . '&redirect_uri=' . urlencode(SimpleSAML_Module::getModuleUrl('authwindowslive') . '/linkback.php') + . '&redirect_uri=' . urlencode(SimpleSAML\Module::getModuleUrl('authwindowslive') . '/linkback.php') . '&state=' . urlencode($stateID) . '&scope=' . urlencode('openid https://graph.microsoft.com/user.read') ; @@ -104,7 +104,7 @@ class sspmod_authwindowslive_Auth_Source_LiveID extends SimpleSAML_Auth_Source . '&client_secret=' . urlencode($this->secret) . '&scope=' . urlencode('https://graph.microsoft.com/user.read') . '&grant_type=authorization_code' - . '&redirect_uri=' . urlencode(SimpleSAML_Module::getModuleUrl('authwindowslive') . '/linkback.php') + . '&redirect_uri=' . urlencode(SimpleSAML\Module::getModuleUrl('authwindowslive') . '/linkback.php') . '&code=' . urlencode($state['authwindowslive:verification_code']); $context = array( diff --git a/modules/core/lib/Stats/Output/Log.php b/modules/core/lib/Stats/Output/Log.php index 9c50dfa..70e914e 100644 --- a/modules/core/lib/Stats/Output/Log.php +++ b/modules/core/lib/Stats/Output/Log.php @@ -22,7 +22,7 @@ class sspmod_core_Stats_Output_Log extends SimpleSAML_Stats_Output { public function __construct(SimpleSAML_Configuration $config) { $logLevel = $config->getString('level', 'notice'); - $this->logger = array('SimpleSAML_Logger', $logLevel); + $this->logger = array('SimpleSAML\Logger', $logLevel); if (!is_callable($this->logger)) { throw new Exception('Invalid log level: ' . var_export($logLevel, TRUE)); } diff --git a/modules/negotiate/docs/negotiate.md b/modules/negotiate/docs/negotiate.md index 62ae6f5..a57044d 100644 --- a/modules/negotiate/docs/negotiate.md +++ b/modules/negotiate/docs/negotiate.md @@ -227,7 +227,7 @@ if($this->data['nego']['disable_perm']) { echo '<span id="login-extra-info-uio.no" class="login-extra-info">' . '<span class="login-extra-info-divider"></span>' . $this->t('{feide:login:login_uio_negotiate_disabled_session_info}') - . '<br><a href="'.SimpleSAML_Module::getModuleURL('negotiate/retry.php', array('AuthState' => $this->data['nego']['retry_id'])).'">' + . '<br><a href="'.SimpleSAML\Module::getModuleURL('negotiate/retry.php', array('AuthState' => $this->data['nego']['retry_id'])).'">' . $this->t('{feide:login:login_uio_negotiate_disabled_session_info_link}') . '</a>' . '</span>'; |