|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Inheritance diagram for ilPDOAuthentication:
Collaboration diagram for ilPDOAuthentication:Public Member Functions | |
| __construct () | |
| setIdle ($time, $add=false) | |
| Set maximum idle time. More... | |
| setExpire ($time, $add=false) | |
| Set the maximum expire time. More... | |
| start () | |
| Start new auth session. More... | |
| getAuth () | |
| Has the user been authenticated? More... | |
| getStatus () | |
| getUsername () | |
| sessionValidThru () | |
| Returns the time up to the session is valid. More... | |
| logout () | |
| setIdle ($time, $add=false) | |
| Set maximum idle time. More... | |
| setExpire ($time, $add=false) | |
| Set the maximum expire time. More... | |
| start () | |
| Start new auth session. More... | |
| getAuth () | |
| Has the user been authenticated? More... | |
| getStatus () | |
| getUsername () | |
| sessionValidThru () | |
| Returns the time up to the session is valid. More... | |
| logout () | |
Protected Member Functions | |
| checkAuth () | |
| login () | |
| assignData () | |
Protected Attributes | |
| $_sessionName = '_authsession' | |
| $allowLogin = true | |
| $_postUsername = 'username' | |
| $_postPassword = 'password' | |
| $advancedsecurity | |
| $enableLogging | |
| $regenerateSessionId | |
| $status = '' | |
| $username = null | |
| $password | |
| $session | |
| $server | |
| $post | |
| $cookie | |
Private Member Functions | |
| setAuth ($username) | |
Definition at line 8 of file class.ilPDOAuthentication.php.
| ilPDOAuthentication::__construct | ( | ) |
Definition at line 26 of file class.ilPDOAuthentication.php.
References $_COOKIE, $_POST, $_SERVER, $_SESSION, and $_sessionName.
|
protected |
Definition at line 144 of file class.ilPDOAuthentication.php.
References $_postPassword, and $_postUsername.
Referenced by start().
Here is the caller graph for this function:
|
protected |
| ilPDOAuthentication::getAuth | ( | ) |
Has the user been authenticated?
Is there a valid login session. Previously this was different from checkAuth() but now it is just an alias.
Implements ilAuthPDOInterface.
Definition at line 103 of file class.ilPDOAuthentication.php.
References checkAuth().
Here is the call graph for this function:| ilPDOAuthentication::getStatus | ( | ) |
Implements ilAuthPDOInterface.
Definition at line 112 of file class.ilPDOAuthentication.php.
References $status.
| ilPDOAuthentication::getUsername | ( | ) |
Implements ilAuthPDOInterface.
Definition at line 121 of file class.ilPDOAuthentication.php.
References $_SESSION.
|
protected |
Definition at line 85 of file class.ilPDOAuthentication.php.
References setAuth().
Referenced by start().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPDOAuthentication::logout | ( | ) |
Implements ilAuthPDOInterface.
Definition at line 139 of file class.ilPDOAuthentication.php.
References $_SESSION.
| ilPDOAuthentication::sessionValidThru | ( | ) |
Returns the time up to the session is valid.
@access public
Implements ilAuthPDOInterface.
Definition at line 133 of file class.ilPDOAuthentication.php.
|
private |
| $username |
Definition at line 162 of file class.ilPDOAuthentication.php.
References $_SESSION, and $username.
Referenced by login().
Here is the caller graph for this function:| ilPDOAuthentication::setExpire | ( | $time, | |
$add = false |
|||
| ) |
Set the maximum expire time.
| int | $time | Time in seconds |
| bool | $add | Add time to current expire time or not |
Implements ilAuthPDOInterface.
Definition at line 56 of file class.ilPDOAuthentication.php.
| ilPDOAuthentication::setIdle | ( | $time, | |
$add = false |
|||
| ) |
Set maximum idle time.
| int | $time | Time in seconds. |
| bool | $add | Add to current idle time? |
Implements ilAuthPDOInterface.
Definition at line 44 of file class.ilPDOAuthentication.php.
| ilPDOAuthentication::start | ( | ) |
Start new auth session.
Implements ilAuthPDOInterface.
Definition at line 66 of file class.ilPDOAuthentication.php.
References assignData(), checkAuth(), and login().
Here is the call graph for this function:
|
protected |
Definition at line 13 of file class.ilPDOAuthentication.php.
Referenced by assignData().
|
protected |
Definition at line 12 of file class.ilPDOAuthentication.php.
Referenced by assignData().
|
protected |
Definition at line 10 of file class.ilPDOAuthentication.php.
Referenced by __construct().
|
protected |
Definition at line 14 of file class.ilPDOAuthentication.php.
|
protected |
Definition at line 11 of file class.ilPDOAuthentication.php.
|
protected |
Definition at line 23 of file class.ilPDOAuthentication.php.
|
protected |
Definition at line 15 of file class.ilPDOAuthentication.php.
|
protected |
Definition at line 19 of file class.ilPDOAuthentication.php.
|
protected |
Definition at line 22 of file class.ilPDOAuthentication.php.
|
protected |
Definition at line 16 of file class.ilPDOAuthentication.php.
|
protected |
Definition at line 21 of file class.ilPDOAuthentication.php.
|
protected |
Definition at line 20 of file class.ilPDOAuthentication.php.
|
protected |
Definition at line 17 of file class.ilPDOAuthentication.php.
Referenced by getStatus().
|
protected |
Definition at line 18 of file class.ilPDOAuthentication.php.
Referenced by setAuth().