32 $this->client = $a_client_id;
33 $this->username = $a_login;
34 $this->password = $a_password;
36 include_once
'./Services/Context/classes/class.ilContext.php';
43 include_once
'./include/inc.header.php';
62 $credentials->setUsername($this->username);
63 $credentials->setPassword($this->password);
66 $providers = $provider_factory->getProviders($credentials);
73 $frontend = $frontend_factory->getFrontend(
80 $frontend->authenticate();
82 switch ($status->getStatus()) {
101 $this->authSession->logout();
__construct( $a_client_id, $a_login, $a_password, ilAuthSession $authSession=null)
const STATUS_AUTHENTICATION_FAILED
Factory for auth frontend classes.
logout()
Closes the current auth session.
static init($a_type)
Init context by type.
const STATUS_AUTHENTICATED
static setClosingContext($a_context)
set closing context (for statistics)
static getInstance()
Get status instance.
static getLogger($a_component_id)
Get component logger.
Description of class class.
Handles cron (cli) request.
authenticate()
Start authentication.