Solutions Open Source

Référence de la classe t3lib_beUserAuth

Graphe d'héritage de t3lib_beUserAuth:

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

Collaboration graph
[légende]

Liste de tous les membres

Fonctions membres publiques

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

Attributs publics

 $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


Documentation des fonctions membres

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.

Paramètres:
boolean Activate insertion of the URL.
Renvoie:
void private

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)

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

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

Renvoie:
void

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)

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

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

Renvoie:
void

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)

Renvoie:
void

t3lib_beUserAuth::resetUC (  ) 

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

Renvoie:
void

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.

Renvoie:
void private

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

Renvoie:
string


Documentation des données membres

t3lib_beUserAuth::$session_table = 'be_sessions'

Réimplémentée à partir de t3lib_userAuth.

t3lib_beUserAuth::$name = 'be_typo_user'

Réimplémentée à partir de t3lib_userAuth.

t3lib_beUserAuth::$user_table = 'be_users'

Réimplémentée à partir de t3lib_userAuth.

t3lib_beUserAuth::$username_column = 'username'

Réimplémentée à partir de t3lib_userAuth.

t3lib_beUserAuth::$userident_column = 'password'

Réimplémentée à partir de t3lib_userAuth.

t3lib_beUserAuth::$userid_column = 'uid'

Réimplémentée à partir de t3lib_userAuth.

t3lib_beUserAuth::$lastLogin_column = 'lastlogin'

Réimplémentée à partir de t3lib_userAuth.

t3lib_beUserAuth::$notifyHeader = 'From: TYPO3 Login notify <no_reply@no_reply.no_reply>'

t3lib_beUserAuth::$enablecolumns

Valeur initiale :

 Array (
                'rootLevel' => 1,
                'deleted' => 'deleted',
                'disabled' => 'disable',
                'starttime' => 'starttime',
                'endtime' => 'endtime'
        )

Réimplémentée à partir de t3lib_userAuth.

t3lib_beUserAuth::$formfield_uname = 'username'

Réimplémentée à partir de t3lib_userAuth.

Réimplémentée dans t3lib_tsfeBeUserAuth.

t3lib_beUserAuth::$formfield_uident = 'userident'

Réimplémentée à partir de t3lib_userAuth.

Réimplémentée dans t3lib_tsfeBeUserAuth.

t3lib_beUserAuth::$formfield_chalvalue = 'challenge'

Réimplémentée à partir de t3lib_userAuth.

Réimplémentée dans t3lib_tsfeBeUserAuth.

t3lib_beUserAuth::$formfield_status = 'login_status'

Réimplémentée à partir de t3lib_userAuth.

t3lib_beUserAuth::$security_level = 'superchallenged'

Réimplémentée à partir de t3lib_userAuth.

Réimplémentée dans t3lib_tsfeBeUserAuth.

t3lib_beUserAuth::$writeStdLog = 1

Réimplémentée à partir de t3lib_userAuth.

Réimplémentée dans t3lib_tsfeBeUserAuth.

t3lib_beUserAuth::$writeAttemptLog = 1

Réimplémentée à partir de t3lib_userAuth.

Réimplémentée dans t3lib_tsfeBeUserAuth.

t3lib_beUserAuth::$auth_include = ''

Réimplémentée à partir de t3lib_userAuth.

Réimplémentée dans t3lib_tsfeBeUserAuth.

t3lib_beUserAuth::$auth_timeout_field = 6000

Réimplémentée à partir de t3lib_userAuth.

t3lib_beUserAuth::$lifetime = 0

Réimplémentée à partir de t3lib_userAuth.

t3lib_beUserAuth::$challengeStoredInCookie = TRUE

Réimplémentée à partir de t3lib_userAuth.

t3lib_beUserAuth::$uc

t3lib_beUserAuth::$uc_default

Valeur initiale :

 Array (
                'interfaceSetup' => '', // serialized content that is used to store interface pane and menu positions. Set by the logout.php-script
                'moduleData' => Array(),        // user-data for the modules
                'thumbnailsByDefault' => 0,
                'emailMeAtLogin' => 0,
                'condensedMode' => 0,
                'noMenuMode' => 0,
                'startInTaskCenter' => 0,
                'hideSubmoduleIcons' => 0,
                'helpText' => 1,
                'titleLen' => 30,
                'edit_wideDocument' => '0',
                'edit_showFieldHelp' => 'icon',
                'edit_RTE' => '1',
                'edit_docModuleUpload' => '1',
                'disableCMlayers' => 0,
                'navFrameWidth' => '',  // Default is 245 pixels
                'navFrameResizable' => 0,
        )


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