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