Documentation TYPO3 par Ameos

tx_sv_auth Class Reference

Inheritance diagram for tx_sv_auth:

Inheritance graph
Collaboration diagram for tx_sv_auth:

Collaboration graph
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.)

array Data of user.

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,

Find usergroup records, currently only for frontend

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.
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.

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.
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)

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:

Généré par Les experts TYPO3 avec  doxygen 1.4.6