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
/**
* IdP class.
*
......@@ -10,7 +9,6 @@
*/
class SimpleSAML_IdP
{
/**
* A cache for resolving IdP id's.
*
......@@ -18,7 +16,6 @@ class SimpleSAML_IdP
*/
private static $idpCache = array();
/**
* The identifier for this IdP.
*
......@@ -26,7 +23,6 @@ class SimpleSAML_IdP
*/
private $id;
/**
* The "association group" for this IdP.
*
......@@ -37,7 +33,6 @@ class SimpleSAML_IdP
*/
private $associationGroup;
/**
* The configuration for this IdP.
*
......@@ -45,7 +40,6 @@ class SimpleSAML_IdP
*/
private $config;
/**
* Our authsource.
*
......@@ -53,7 +47,6 @@ class SimpleSAML_IdP
*/
private $authSource;
/**
* Initialize an IdP.
*
......@@ -341,12 +334,12 @@ class SimpleSAML_IdP
*
* @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)
{
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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment