Documentation TYPO3 par Ameos

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)

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 t3lib_div::intExplode().

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:


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