Back to index

awl  0.53
Public Member Functions | Public Attributes
AuthPlugin Class Reference

List of all members.

Public Member Functions

 AuthPlugin ($authparams)
 

@-


 Authenticate ($username, $password)
 Authenticate.

Public Attributes

 $usr
 

@+

private
 $success

Detailed Description

Definition at line 23 of file AuthPlugin.php.


Member Function Documentation

AuthPlugin::Authenticate ( username,
password 
)

Authenticate.

Do whatever we need to authenticate a username / password.

Parameters:
string$usernameThe username of the person attempting to log in
string$passwordThe password the person is trying to log in with
Returns:
object The "user" object, containing fields matching the 'usr' database table

Definition at line 54 of file AuthPlugin.php.

                                                {
  }
AuthPlugin::AuthPlugin ( authparams)

@-

@+

public#@- Create a new AuthPlugin object. This is as lightweight as possible.

Parameters:
array$authparamsAn array of parameters used for this authentication method.

Definition at line 43 of file AuthPlugin.php.

                                     {
    $this->success = false;
  }

Member Data Documentation

Definition at line 29 of file AuthPlugin.php.

@+

private

Definition at line 28 of file AuthPlugin.php.


The documentation for this class was generated from the following file: