t3lib_beUserAuth Class Reference

Inheritance diagram for t3lib_beUserAuth:

Inheritance graph
[legend]
Collaboration diagram for t3lib_beUserAuth:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 trackBeUser ($flag)
 checkLockToIP ()
 backendCheckLogin ()
 checkCLIuser ()
 backendSetUC ()
 overrideUC ()
 resetUC ()
 emailAtLogin ()
 veriCode ()

Public Attributes

 $session_table = 'be_sessions'
 $name = 'be_typo_user'
 $user_table = 'be_users'
 $username_column = 'username'
 $userident_column = 'password'
 $userid_column = 'uid'
 $lastLogin_column = 'lastlogin'
 $notifyHeader = 'From: TYPO3 Login notify <no_reply@no_reply.no_reply>'
 $enablecolumns
 $formfield_uname = 'username'
 $formfield_uident = 'userident'
 $formfield_chalvalue = 'challenge'
 $formfield_status = 'login_status'
 $security_level = 'superchallenged'
 $writeStdLog = 1
 $writeAttemptLog = 1
 $auth_include = ''
 $auth_timeout_field = 6000
 $lifetime = 0
 $challengeStoredInCookie = TRUE
 $uc
 $uc_default


Detailed Description

Definition at line 76 of file class.t3lib_beuserauth.php.


Member Function Documentation

t3lib_beUserAuth::trackBeUser ( flag  ) 

If flag is set and the extensions 'beuser_tracking' is loaded, this will insert a table row with the REQUEST_URI of current script - thus tracking the scripts the backend users uses... This function works ONLY with the "beuser_tracking" extension and is deprecated since it does nothing useful.

Parameters:
boolean Activate insertion of the URL.
Returns:
void private

Definition at line 150 of file class.t3lib_beuserauth.php.

t3lib_beUserAuth::checkLockToIP (  ) 

If TYPO3_CONF_VARS['BE']['enabledBeUserIPLock'] is enabled and an IP-list is found in the User TSconfig objString "options.lockToIP", then make an IP comparison with REMOTE_ADDR and return the outcome (true/false)

Returns:
boolean True, if IP address validates OK (or no check is done at all) private

Definition at line 168 of file class.t3lib_beuserauth.php.

t3lib_beUserAuth::backendCheckLogin (  ) 

Check if user is logged in and if so, call ->fetchGroupData() to load group information and access lists of all kind, further check IP, set the ->uc array and send login-notification email if required. If no user is logged in the default behaviour is to exit with an error message, but this will happen ONLY if the constant TYPO3_PROCEED_IF_NO_USER is set true. This function is called right after ->start() in fx. init.php

Returns:
void

Definition at line 188 of file class.t3lib_beuserauth.php.

t3lib_beUserAuth::checkCLIuser (  ) 

If the backend script is in CLI mode, it will try to load a backend user named by the CLI module name (in lowercase)

Returns:
boolean Returns true if a CLI user was loaded, otherwise false!

Definition at line 216 of file class.t3lib_beuserauth.php.

t3lib_beUserAuth::backendSetUC (  ) 

Initialize the internal ->uc array for the backend user Will make the overrides if necessary, and write the UC back to the be_users record if changes has happend

Returns:
void

Definition at line 240 of file class.t3lib_beuserauth.php.

t3lib_beUserAuth::overrideUC (  ) 

Override: Call this function every time the uc is updated. That is 1) by reverting to default values, 2) in the setup-module, 3) userTS changes (userauthgroup)

Returns:
void

Definition at line 278 of file class.t3lib_beuserauth.php.

t3lib_beUserAuth::resetUC (  ) 

Clears the user[uc] and ->uc to blank strings. Then calls ->backendSetUC() to fill it again with reset contents

Returns:
void

Definition at line 288 of file class.t3lib_beuserauth.php.

t3lib_beUserAuth::emailAtLogin (  ) 

Will send an email notification to warning_email_address/the login users email address when a login session is just started. Depends on various parameters whether mails are send and to whom.

Returns:
void private

Definition at line 301 of file class.t3lib_beuserauth.php.

t3lib_beUserAuth::veriCode (  ) 

VeriCode returns 10 first chars of a md5 hash of the session cookie AND the encryptionKey from TYPO3_CONF_VARS. This code is used as an alternative verification when the JavaScript interface executes cmd's to tce_db.php from eg. MSIE 5.0 because the proper referer is not passed with this browser...

Returns:
string

Definition at line 353 of file class.t3lib_beuserauth.php.


The documentation for this class was generated from the following file:
This documentation has been generated automatically from TYPO3 source code using Doxygen and is provided as is by Cast Iron Coding as a courtesy to other TYPO3 developers and users. Please consider Cast Iron Coding — a full-service web development agency in Portland, Oregon specializing in TYPO3 extension development — for all of your TYPO3 development and consulting needs!