Skip to content
Snippets Groups Projects
Unverified Commit b1d0840b authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Update IdP.php

parent 11ca7d17
No related branches found
No related tags found
No related merge requests found
<?php <?php
/** /**
* IdP class. * IdP class.
* *
...@@ -10,7 +9,6 @@ ...@@ -10,7 +9,6 @@
*/ */
class SimpleSAML_IdP class SimpleSAML_IdP
{ {
/** /**
* A cache for resolving IdP id's. * A cache for resolving IdP id's.
* *
...@@ -18,7 +16,6 @@ class SimpleSAML_IdP ...@@ -18,7 +16,6 @@ class SimpleSAML_IdP
*/ */
private static $idpCache = array(); private static $idpCache = array();
/** /**
* The identifier for this IdP. * The identifier for this IdP.
* *
...@@ -26,7 +23,6 @@ class SimpleSAML_IdP ...@@ -26,7 +23,6 @@ class SimpleSAML_IdP
*/ */
private $id; private $id;
/** /**
* The "association group" for this IdP. * The "association group" for this IdP.
* *
...@@ -37,7 +33,6 @@ class SimpleSAML_IdP ...@@ -37,7 +33,6 @@ class SimpleSAML_IdP
*/ */
private $associationGroup; private $associationGroup;
/** /**
* The configuration for this IdP. * The configuration for this IdP.
* *
...@@ -45,7 +40,6 @@ class SimpleSAML_IdP ...@@ -45,7 +40,6 @@ class SimpleSAML_IdP
*/ */
private $config; private $config;
/** /**
* Our authsource. * Our authsource.
* *
...@@ -53,7 +47,6 @@ class SimpleSAML_IdP ...@@ -53,7 +47,6 @@ class SimpleSAML_IdP
*/ */
private $authSource; private $authSource;
/** /**
* Initialize an IdP. * Initialize an IdP.
* *
...@@ -341,12 +334,12 @@ class SimpleSAML_IdP ...@@ -341,12 +334,12 @@ class SimpleSAML_IdP
* *
* @param array &$state The authentication request state. * @param array &$state The authentication request state.
* *
* @throws SimpleSAML_Error_NoPassive If we were asked to do passive authentication. * @throws \SimpleSAML\Module\saml\Error\NoPassive If we were asked to do passive authentication.
*/ */
private function authenticate(array &$state) private function authenticate(array &$state)
{ {
if (isset($state['isPassive']) && (bool) $state['isPassive']) { if (isset($state['isPassive']) && (bool) $state['isPassive']) {
throw new SimpleSAML_Error_NoPassive('Passive authentication not supported.'); throw new \SimpleSAML\Module\saml\Error\NoPassive('Passive authentication not supported.');
} }
$this->authSource->login($state); $this->authSource->login($state);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment