3require_once 
'Services/Authentication/classes/PDO/interface.ilAuthPDOInterface.php';
 
   44    public function setIdle($time, $add = 
false)
 
   70        if (!$this->
checkAuth() && $this->allowLogin) {
 
   81        return isset(
$_SESSION[
'_authsession'][
'username']);
 
   87        if (!empty($this->username) && $this->verifyPassword($this->username, $this->password)) {
 
   88            $this->
setAuth($this->username);
 
   90            $this->status = AUTH_WRONG_LOGIN;
 
  123        return $_SESSION[
'_authsession'][
'username'];
 
  135        return time() + 1000000;
 
  146        if (isset($this->post[$this->_postUsername])
 
  147            && $this->post[$this->_postUsername] != 
'' 
  149            $this->username = (get_magic_quotes_gpc() == 1 ? stripslashes($this->post[$this->_postUsername]) : $this->post[
$this->_postUsername]);
 
  151        if (isset($this->post[$this->_postPassword])
 
  154            $this->password = (get_magic_quotes_gpc() == 1 ? stripslashes($this->post[$this->_postPassword]) : $this->post[
$this->_postPassword]);
 
  181        require_once 
'Services/User/classes/class.ilUserPasswordManager.php';
 
An exception for terminatinating execution or to throw for unit testing.
static _loginExists($a_login, $a_user_id=0)
check if a login name already exists You may exclude a user from the check by giving his user id as 2...
static getInstanceByObjId($a_obj_id, $stop_on_error=true)
get an instance of an Ilias object by object id
start()
Start new auth session.
setExpire($time, $add=false)
Set the maximum expire time.
sessionValidThru()
Returns the time up to the session is valid.
getAuth()
Has the user been authenticated?
setIdle($time, $add=false)
Set maximum idle time.
static getInstance()
Single method to reduce footprint (included files, created instances)