Public Member Functions | |
| login (array $parameters, TYPO3AJAX $ajaxObj) | |
| logout (array $parameters, TYPO3AJAX $ajaxObj) | |
| refreshLogin (array $parameters, TYPO3AJAX $ajaxObj) | |
| isTimedOut (array $parameters, TYPO3AJAX $ajaxObj) | |
| getChallenge (array $parameters, TYPO3AJAX $parent) | |
Definition at line 32 of file class.ajaxlogin.php.
| AjaxLogin::getChallenge | ( | array $ | parameters, | |
| TYPO3AJAX $ | parent | |||
| ) |
Gets a MD5 challenge.
| array | $parameters: Parameters (not used) | |
| TYPO3AJAX | $parent: The calling parent AJAX object |
Definition at line 125 of file class.ajaxlogin.php.
References TYPO3AJAX::addContent(), and TYPO3AJAX::setContentFormat().
| AjaxLogin::isTimedOut | ( | array $ | parameters, | |
| TYPO3AJAX $ | ajaxObj | |||
| ) |
| AjaxLogin::login | ( | array $ | parameters, | |
| TYPO3AJAX $ | ajaxObj | |||
| ) |
Handles the actual login process, more specifically it defines the response. The login details were sent in as part of the ajax request and automatically logged in the user inside the init.php part of the ajax call. If that was successful, we have a BE user and reset the timer and hide the login window. If it was unsuccessful, we display that and show the login box again.
| array | $parameters: Parameters (not used) | |
| TYPO3AJAX | $ajaxObj: The calling parent AJAX object |
Definition at line 45 of file class.ajaxlogin.php.
References $ajaxObj, and $GLOBALS.
Referenced by isTimedOut().
| AjaxLogin::logout | ( | array $ | parameters, | |
| TYPO3AJAX $ | ajaxObj | |||
| ) |
Logs out the current BE user
| array | $parameters: Parameters (not used) | |
| TYPO3AJAX | $ajaxObj: The calling parent AJAX object |
Definition at line 62 of file class.ajaxlogin.php.
| AjaxLogin::refreshLogin | ( | array $ | parameters, | |
| TYPO3AJAX $ | ajaxObj | |||
| ) |
Refreshes the login without needing login information. We just refresh the session.
| array | $parameters: Parameters (not used) | |
| TYPO3AJAX | $ajaxObj: The calling parent AJAX object |
Definition at line 80 of file class.ajaxlogin.php.
1.4.7