5 include_once
'./Services/Authentication/classes/Frontend/class.ilAuthFrontend.php';
6 include_once
'./Services/Authentication/interfaces/interface.ilAuthFrontendInterface.php';
23 $this->
getLogger()->debug(
'Trying authentication against: ' . get_class($provider));
25 $provider->doAuthentication($this->
getStatus());
27 $this->
getLogger()->debug(
'Authentication user id: ' . $this->
getStatus()->getAuthenticatedUserId());
35 $this->
getLogger()->notice(
"Account migration required.");
40 $this->
getLogger()->debug(
'Authentication failed against: ' . get_class($provider));
52 header(
"WWW-Authenticate: Basic realm=\"".CLIENT_ID.
"\"");
53 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