19 declare(strict_types=1);
28 $this->
logger = $DIC->logger()->auth();
38 $this->
logger->debug(
'Returning fixed provider for auth mode: ' . $credentials->
getAuthMode());
45 $sequence = $auth_determination->getAuthModeSequence($credentials->
getUsername());
48 foreach ($sequence as $authmode) {
63 switch ((
int) $a_authmode) {
65 $ldap_info = explode(
'_', $a_authmode);
66 $this->
logger->debug(
'Using ldap authentication with credentials ');
70 $this->
logger->debug(
'Using local database authentication');
74 $this->
logger->debug(
'Using SOAP authentication.');
78 $this->
logger->debug(
'Using apache authentication.');
82 $this->
logger->debug(
'Using shibboleth authentication.');
86 $this->
logger->debug(
'Using lti provider authentication.');
90 $this->
logger->debug(
'Using ecs authentication.');
94 $this->
logger->debug(
'Using apache authentication.');
98 $this->
logger->debug(
'Using openid connect authentication.');
102 $this->
logger->debug(
'Plugin authentication: ' . $a_authmode);
104 $provider = $pl->getProvider($credentials, $a_authmode);
getProviders(ilAuthCredentials $credentials)
const int AUTH_SHIBBOLETH
static getIdpIdByAuthMode(string $a_auth_mode)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Auth prvider for ecs auth.
const int AUTH_PROVIDER_LTI
OAuth based lti authentication.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
const int AUTH_OPENID_CONNECT
getProviderByAuthMode(ilAuthCredentials $credentials, $a_authmode)