Authentication
Also see Modules/Users
Usage
To sign in, call the static authenticate() method of the User class, passing the authentication provider and any extra parameters needed in the constructor for the provider.
User::authenticate( new PasswordAuthentication($username,$password) );
if (User::isAuthenticated()) {
echo "You are logged in!";
}
note: it's probably better to have the User class do the authentication based on the returned id of the provider. this allows for a "dry run" in order to check authentication etc.
