19declare(strict_types=1);
30 $this->
logger = $DIC->logger()->auth();
40 $this->
logger->debug(
'Returning fixed provider for auth mode: ' . $credentials->
getAuthMode());
47 $sequence = $auth_determination->getAuthModeSequence($credentials->
getUsername());
50 foreach ($sequence as $authmode) {
65 switch ((
int) $a_authmode) {
67 $ldap_info = explode(
'_', $a_authmode);
68 $this->
logger->debug(
'Using ldap authentication with credentials ');
72 $this->
logger->debug(
'Using local database authentication');
76 $this->
logger->debug(
'Using SOAP authentication.');
80 $this->
logger->debug(
'Using apache authentication.');
84 $this->
logger->debug(
'Using shibboleth authentication.');
88 $this->
logger->debug(
'Using lti provider authentication.');
92 $this->
logger->debug(
'Using ecs authentication.');
96 $this->
logger->debug(
'Using apache authentication.');
100 $this->
logger->debug(
'Using openid connect authentication.');
104 $this->
logger->debug(
'Plugin authentication: ' . $a_authmode);
106 $provider = $pl->getProvider($credentials, $a_authmode);
Auth prvider for ecs auth.
getProviderByAuthMode(ilAuthCredentials $credentials, $a_authmode)
getProviders(ilAuthCredentials $credentials)
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_SHIBBOLETH
const int AUTH_OPENID_CONNECT
const int AUTH_PROVIDER_LTI
Component logger with individual log levels by component id.
static getIdpIdByAuthMode(string $a_auth_mode)