The authentication handling plugins can be used by the Session class to provide authentication.
Each authenticate hook needs to:
The authentication handling plugins can be used by the Session class to provide authentication.
Each authenticate hook needs to:
Authenticate against a different PostgreSQL database which contains a usr table in the AWL format.
Use this as in the following example config snippet:
require_once('auth-functions.php'); $c->authenticate_hook = array( 'call' => 'AuthExternalAwl', 'config' => array( // A PgSQL database connection string for the database containing user records 'connection[]' => 'dbname=wrms host=otherhost port=5433 user=general', // Which columns should be fetched from the database 'columns' => "user_no, active, email_ok, joined, last_update AS updated, last_used, username, password, fullname, email", // a WHERE clause to limit the records returned. 'where' => "active AND org_code=7" ) );
Defunct function for creating default relationships.
Create a default home calendar for the user.
Update the local cache of the remote user details
Documentation generated on Sun, 26 Sep 2010 00:46:19 +1200 by phpDocumentor 1.4.3