"TYPO3 4.0.1: tx_sv_auth Class Reference", "datetime" => "Sat Dec 2 19:27:24 2006", "date" => "2 Dec 2006", "doxygenversion" => "1.4.6", "projectname" => "TYPO3 4.0.1", "projectnumber" => "4.0.1" ); get_header($doxygen_vars); ?>

tx_sv_auth Class Reference

Inheritance diagram for tx_sv_auth:

Inheritance graph
[legend]
Collaboration diagram for tx_sv_auth:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 getUser ()
 authUser ($user)
 getGroups ($user, $knownGroups)
 getSubGroups ($grList, $idList='', &$groups)

Detailed Description

Definition at line 56 of file class.tx_sv_auth.php.


Member Function Documentation

tx_sv_auth::authUser user  ) 
 

Authenticate a user (Check various conditions for the user that might invalidate its authentication, eg. password match, domain, IP, etc.)

Parameters:
array Data of user.
Returns:
boolean

Definition at line 89 of file class.tx_sv_auth.php.

References tx_sv_authbase::compareUident(), t3lib_div::devLog(), and tx_sv_authbase::writelog().

tx_sv_auth::getGroups user,
knownGroups
 

Find usergroup records, currently only for frontend

Parameters:
array Data of user.
array Group data array of already known groups. This is handy if you want select other related groups. Keys in this array are unique IDs of those groups.
Returns:
mixed Groups array, keys = uid which must be unique

Definition at line 129 of file class.tx_sv_auth.php.

References t3lib_div::cmpIP(), t3lib_div::devLog(), and getSubGroups().

tx_sv_auth::getSubGroups grList,
idList = '',
&$  groups
 

Fetches subgroups of groups. Function is called recursively for each subgroup. Function was previously copied from t3lib_userAuthGroup->fetchGroups and has been slightly modified.

Parameters:
string Commalist of fe_groups uid numbers
string List of already processed fe_groups-uids so the function will not fall into a eternal recursion.
Returns:
array private

Definition at line 186 of file class.tx_sv_auth.php.

References t3lib_div::inList(), and t3lib_div::intExplode().

Referenced by getGroups().

tx_sv_auth::getUser  ) 
 

Find a user (eg. look up the user record in database when a login is sent)

Returns:
mixed user array or false

Definition at line 64 of file class.tx_sv_auth.php.

References t3lib_div::arrayToLogString(), t3lib_div::devLog(), tx_sv_authbase::fetchUserRecord(), and tx_sv_authbase::writelog().


The documentation for this class was generated from the following file: