Class Authentication_HardcodedAccounts

Description

Authentication_HardcodedAccounts class

This class implements the login method needed to handle actual user authentication. It extends Authentication and implements the Accountable interface.

Located in /classes/Authentication/HardcodedAccounts.php (line 23)

Authentication
   |
   --Authentication_HardcodedAccounts
Method Summary
void __construct ()
boolean login (string $user, string $password)
Methods
Constructor __construct (line 42)

Authentication_HardcodedAccounts constructor

Instantiates a new Users object and stores a reference in the users property.

  • see: Users
  • access: public
void __construct ()
login (line 60)

login method

Uses the reference Users class to handle user validation.

  • see: Users
  • todo: Decide which validate method to user instead of both
  • access: public
boolean login (string $user, string $password)
  • string $user: account user name
  • string $password: account password

Redefinition of:
Authentication::login()
login method

Inherited Methods

Inherited From Authentication

Authentication::getAccount()
Authentication::isLoggedIn()
Authentication::login()

Documentation generated on Mon, 26 Jul 2010 22:07:04 +0100 by phpDocumentor 1.4.3