Class: LiveUser_Auth_Common
Source Location: /LiveUser-0.11.1/Auth/Common.php
Description: This class provides a set of functions for implementing a user authorisation system on live websites. All authorisation backends/containers must be extensions of this base class.
Author(s):
Version:
- $Id: Common.php,v 1.40 2004/04/23 18:58:31 dufuz Exp $
|
|
|
Child classes:
|
Inherited Variables
|
Inherited Methods
|
Class Details
Class Variables
$allowDuplicateHandles = false
[line 130]
Allow multiple users in the database to have the same login handle. Default: false.
$authUserId = 0
[line 58]
Current user's database record id
$backendArrayIndex = 0
[line 156]
Defines the array index number of the LoginManager?s "backends" property.
$currentLogin = 0
[line 94]
Timestamp of current login (last to be written)
$encryptionModes = array('MD5' => 'MD5',
'PLAIN' => 'PLAIN',
'RC4' => 'RC4',
'SHA1' => 'SHA1')
[line 137]
Set posible encryption modes. $var array
$expireTime = 0
[line 112]
Auth lifetime in seconds If this variable is set to 0, auth never expires
$handle = ''
[line 43]
The handle (username) of the current user
$idleTime = 0
[line 122]
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.
$init_ok = false
[line 167]
Indicates if backend module initialized correctly. If yes, true, if not false. Backend module won't initialize if the init value (usually an object or resource handle that identifies the backend to be used) is not of the required type.
$isActive = false
[line 71]
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 87]
Timestamp of last login (previous to currentLogin)
$loggedIn = false
[line 80]
Has the current user successfully logged in? Default: false
$loginTimeout = 12
[line 103]
Number of hours that must pass between two logins to be counted as a new login. Comes in handy in some situations. Default: 12
$passwd = ''
[line 51]
The password of the current user as given to the login() method.
$passwordEncryptionMode = 'MD5'
[line 149]
Defines the algorithm used for encrypting/decrypting passwords. Default: "MD5".
Method Detail
Documentation generated on Mon, 11 Mar 2019 10:16:10 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|
|