$allowDuplicateHandles = false
[line 184]
Allow multiple users in the database to have the same login handle. Default: false.
$allowEmptyPasswords = false
[line 191]
Allow empty passwords to be passed to LiveUser. Default: false.
$authTableCols = array(
'required' => array(
'auth_user_id' => array('name' => 'auth_user_id', 'type' => 'text'),'handle'=>array('name'=>'handle','type'=>'text'),'passwd'=>array('name'=>'passwd','type'=>'text'),),'optional'=>array('lastlogin'=>array('name'=>'lastlogin','type'=>'timestamp'),'is_active'=>array('name'=>'is_active','type'=>'boolean')))
[line 273]
Columns of the auth table.
Associative array with the names of the auth table columns. The 'auth_user_id', 'handle' and 'passwd' fields have to be set. 'lastlogin' and 'is_active' are optional. It doesn't make sense to set only one of the time columns without the other.
The type attribute is only useful when using MDB or CAPTCHA.
$authUserId = 0
[line 91]
Current user's database record id
$backendArrayIndex = 0
[line 223]
Defines the array index number of the LoginManager?s "backends" property.
$containerName = null
[line 250]
The name associated with this auth container. The name is used when adding users from this container to the reference table in the permission container. This way it is possible to see from which auth container the user data is coming from.
$currentLogin = 0
[line 148]
Timestamp of current login (last to be written)
$encryptionModes = array('MD5' => 'MD5',
'PLAIN' => 'PLAIN',
'RC4' => 'RC4',
'SHA1' => 'SHA1')
[line 198]
Set posible encryption modes.
$expireTime = 0
[line 166]
Auth lifetime in seconds
If this variable is set to 0, auth never expires
$externalValues = array()
[line 258]
External values to check (config settings)
$handle = ''
[line 76]
The handle (username) of the current user
$idleTime = 0
[line 176]
Maximum time of idleness in seconds
Idletime gets refreshed each time, init() is called. If this variable is set to 0, idle time is never checked.
$isActive = null
[line 104]
Is the current user allowed to login at all? If false,
a call to login() will not set $logged_in to true, even if handle and password were submitted correctly. This is useful when you want your users to be activated by an administrator before they can actually use your application. Default: false
$lastLogin = 0
[line 134]
Timestamp of last login (previous to currentLogin)
$loggedIn = null
[line 127]
Has the current user successfully logged in? Default: false
$loginTimeout = 12
[line 157]
Number of hours that must pass between two logins to be counted as a new login. Comes in handy in some situations. Default: 12
$ownerGroupId = null
[line 118]
Owner User Id
$ownerUserId = null
[line 111]
Owner User Id
$passwd = ''
[line 84]
The password of the current user as given to the login() method.
$passwordEncryptionMode = 'MD5'
[line 209]
Defines the algorithm used for encrypting/decrypting passwords. Default: "MD5".
$propertyValues = array()
[line 239]
Property values
$secret =
[line 216]
Defines the secret to use for encryption if needed
$updateLastLogin = true
[line 141]
Update the last login time or not
$_stack = null
[line 230]
Error stack