This class can be used to authenticate users that can access to Web site pages.
The accounts of the users are defined as permission arrays in PHP scripts.
The class uses HTTP Basic authentication to request that the users authenticate themselves.
When an user is authenticated successfully, the class stores the authentication status in session variables, so the authentication dialog is not opened again while the session lasts.
The class also implements the logout functionally by invalidating the logged in status session variables. |