21 public function __construct($a_container,$a_addition_options = array())
26 array($this,
'callProvider'),
33 if(isset(
$_GET[
'oid_check_status']))
35 $_POST[
'username'] =
'dummy';
36 $_POST[
'password'] =
'dummy';
73 $consumer = $this->settings->getConsumer();
82 include_once
'Auth/OpenID/SReg.php';
100 $oid_auth->addExtension($sreg_req);
104 $url = $oid_auth->redirectURL(ILIAS_HTTP_PATH,$this->settings->getReturnLocation());
114 include_once
'./Services/OpenId/classes/class.ilOpenIdSettings.php';
116 $this->settings->initConsumer();
125 if(
$_POST[
'oid_provider'])
127 include_once
'./Services/OpenId/classes/class.ilOpenIdProviders.php';
132 $GLOBALS[
'ilLog']->write(__METHOD__.
': Using '.$username.
' for authentication');
135 catch(UnexpectedValueException $e)
142 if($this->settings->forcedProviderSelection())