5 include_once
'./Services/Authentication/classes/Frontend/class.ilAuthFrontend.php';
6 include_once
'./Services/Authentication/interfaces/interface.ilAuthFrontendInterface.php';
21 $this->
getLogger()->debug(
'Trying authentication against: ' . get_class($provider));
23 $provider->doAuthentication($this->
getStatus());
25 $this->
getLogger()->debug(
'Authentication user id: ' . $this->
getStatus()->getAuthenticatedUserId());
32 $this->
getLogger()->notice(
"Account migration required.");
37 $this->
getLogger()->debug(
'Authentication failed against: ' . get_class($provider));
49 header(
"WWW-Authenticate: Basic realm=\"" . CLIENT_ID .
"\"");
50 header(
'HTTP/1.0 401 Unauthorized');
Description of class class.
getProviders()
Get providers.
Description of class class.
const STATUS_AUTHENTICATION_FAILED
handleAuthenticationSuccess(ilAuthProviderInterface $provider)
Handle successful authentication.
resetStatus()
Reset status.
Interface for auth methods (web form, http, ...)
authenticate()
Try authentication.
Add a drawing to the header
handleAuthenticationFail()
Draw basic auth.
const STATUS_AUTHENTICATED
const STATUS_ACCOUNT_MIGRATION_REQUIRED