[ Index ]

PHP Cross Reference of Mambo 4.6.5

[ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/includes/ -> authenticator.php (summary)

(no description)

File Size: 225 lines (8 kb)
Included or required:0 times
Referenced: 1 time
Includes or requires: 0 files

Defines 1 class

mamboAuthenticator:: (7 methods):
  getInstance()
  loginUser()
  authenticateUser()
  clearSession()
  logoutUser()
  loginAdmin()
  mosMakePassword()


Class: mamboAuthenticator  - X-Ref

Authenticator class file for Mambo

getInstance()   X-Ref
No description

loginUser($username=null, $passwd=null, $remember=null)   X-Ref
Login management function

The current session is passed.
Username and encoded password is authenticated.
A successful authentication updates the current session record with
the users details.

authenticateUser(&$message, $username, $passwd, $remember=null, $session=null)   X-Ref
User authentication function

Username and encoded password are checked against the database.

clearSession($session=null)   X-Ref
No description

logoutUser()   X-Ref
User logout

Reverts the current session record back to 'anonymous' parameters

loginAdmin($acl)   X-Ref
No description

mosMakePassword()   X-Ref
Random password generator

return: password