3 declare(strict_types=1);
33 $this->
logger = $DIC->logger()->auth();
41 $this->
logger->debug(
'Trying authentication against: ' . get_class($provider));
43 $provider->doAuthentication($this->
getStatus());
46 ->getAuthenticatedUserId());
53 $this->
logger->notice(
"Account migration required.");
58 $this->
logger->debug(
'Authentication failed against: ' . get_class($provider));
71 header(
'HTTP/1.0 401 Unauthorized');
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getProviders()
Get providers.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
const STATUS_AUTHENTICATION_FAILED
handleAuthenticationSuccess(ilAuthProviderInterface $provider)
Handle successful authentication.
resetStatus()
Reset status.
__construct(ilAuthSession $session, ilAuthStatus $status, ilAuthCredentials $credentials, array $providers)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
authenticate()
Try authentication.
handleAuthenticationFail()
Draw basic auth.
ilAuthCredentials $credentials
const STATUS_AUTHENTICATED
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
const STATUS_ACCOUNT_MIGRATION_REQUIRED