

Fonctions membres publiques | |
| initAuth ($mode, $loginData, $authInfo, &$pObj) | |
| compareUident ($user, $loginData, $security_level='') | |
| writelog ($type, $action, $error, $details_nr, $details, $data, $tablename='', $recuid='', $recpid='') | |
| fetchUserRecord ($username, $extraWhere='', $dbUserSetup='') | |
Attributs publics | |
| $pObj | |
| $mode | |
| $login = array() | |
| $authInfo = array() | |
| $db_user = array() | |
| $db_groups = array() | |
| $writeAttemptLog = false | |
| $writeDevLog = false | |
| tx_sv_authbase::initAuth | ( | $ | mode, | |
| $ | loginData, | |||
| $ | authInfo, | |||
| &$ | pObj | |||
| ) |
Initialize authentication service
| string | Subtype of the service which is used to call the service. | |
| array | Submitted login form data | |
| array | Information array. Holds submitted form data etc. | |
| object | Parent object |
| tx_sv_authbase::compareUident | ( | $ | user, | |
| $ | loginData, | |||
| $ | security_level = '' | |||
| ) |
Check the login data with the user record data for builtin login methods
| array | user data array | |
| array | login data array | |
| string | security_level |
| tx_sv_authbase::writelog | ( | $ | type, | |
| $ | action, | |||
| $ | error, | |||
| $ | details_nr, | |||
| $ | details, | |||
| $ | data, | |||
| $ | tablename = '', |
|||
| $ | recuid = '', |
|||
| $ | recpid = '' | |||
| ) |
Writes to log database table in pObj
| integer | $type: denotes which module that has submitted the entry. This is the current list: 1=tce_db; 2=tce_file; 3=system (eg. sys_history save); 4=modules; 254=Personal settings changed; 255=login / out action: 1=login, 2=logout, 3=failed login (+ errorcode 3), 4=failure_warning_email sent | |
| integer |
| |
| integer | $error: flag. 0 = message, 1 = error (user problem), 2 = System Error (which should not happen), 3 = security notice (admin) | |
| integer |
| |
| string | $details: Default text that follows the message | |
| array | $data: Data that follows the log. Might be used to carry special information. If an array the first 5 entries (0-4) will be sprintf'ed the details-text... | |
| string |
| |
| integer |
| |
| integer |
|
| tx_sv_authbase::fetchUserRecord | ( | $ | username, | |
| $ | extraWhere = '', |
|||
| $ | dbUserSetup = '' | |||
| ) |
Get a user from DB by username
| string | user name | |
| string | additional WHERE clause: " AND ... | |
| array | User db table definition: $this->db_user |
| tx_sv_authbase::$pObj |
| tx_sv_authbase::$mode |
| tx_sv_authbase::$login = array() |
| tx_sv_authbase::$authInfo = array() |
| tx_sv_authbase::$db_user = array() |
| tx_sv_authbase::$db_groups = array() |
| tx_sv_authbase::$writeAttemptLog = false |
| tx_sv_authbase::$writeDevLog = false |
Defines if debug messages should be written with t3lib_div::devLog
Réimplémentée à partir de t3lib_svbase.
1.5.3