Solutions Open Source

Référence de la classe tx_sv_authbase

Graphe d'héritage de tx_sv_authbase:

Inheritance graph
[légende]
Graphe de collaboration de tx_sv_authbase:

Collaboration graph
[légende]

Liste de tous les membres

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


Documentation des fonctions membres

tx_sv_authbase::initAuth ( mode,
loginData,
authInfo,
&$  pObj 
)

Initialize authentication service

Paramètres:
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
Renvoie:
void

tx_sv_authbase::compareUident ( user,
loginData,
security_level = '' 
)

Check the login data with the user record data for builtin login methods

Paramètres:
array user data array
array login data array
string security_level
Renvoie:
boolean true if login data matched

tx_sv_authbase::writelog ( type,
action,
error,
details_nr,
details,
data,
tablename = '',
recuid = '',
recpid = '' 
)

Writes to log database table in pObj

Paramètres:
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 
action
type. Also used to trigger update of the interface. (see the log-module for the meaning of each number !!)
integer $error: flag. 0 = message, 1 = error (user problem), 2 = System Error (which should not happen), 3 = security notice (admin)
integer 
details_nr
type and $action. in the future this will make it possible to translate errormessages to other languages
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 
tablename
tablename, $recuid, $recpid) holds the reference to the record which the log-entry is about. (Was used in attic status.php to update the interface.)
integer 
recuid
tablename, $recuid, $recpid) holds the reference to the record which the log-entry is about. (Was used in attic status.php to update the interface.)
integer 
recpid
tablename, $recuid, $recpid) holds the reference to the record which the log-entry is about. (Was used in attic status.php to update the interface.)
Renvoie:
void
Voir également:
t3lib_userauthgroup::writelog()

tx_sv_authbase::fetchUserRecord ( username,
extraWhere = '',
dbUserSetup = '' 
)

Get a user from DB by username

Paramètres:
string user name
string additional WHERE clause: " AND ...
array User db table definition: $this->db_user
Renvoie:
mixed user array or false


Documentation des données membres

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.


La documentation de cette classe a été générée à partir du fichier suivant :
Généré le Fri Aug 31 11:44:10 2007 pour OBLADY - Typo3 API v4.1.2 par  doxygen 1.5.3