LiveUserPEAR::LiveUser authentication and permission framework |
[ AdvancedSearch | AreaMap ]
|
| Welcome to LiveUser | Documentation | RoadMap | Wishlist | About |
|
Areas In LiveUser |
AboutOn this wiki you will find information and documentation about the package, be them howto, tutorials, news, status and so on. This wiki is not :
What is PEAR::LiveUser?PEAR::LiveUser is a set of classes for dealing with user authentication and permission management which is compatible with PHP 4.3.x upto 5.1.x. Basically, there are three main elements that make up this package:
The LiveUser class takes care of the login process and can be configured to use a certain permission container and one or more different auth containers. That means, you can have your users' data scattered amongst many data containers and have the LiveUser class try each defined container until the user is found. For example, you can have all website users who can apply for a new account online on the webserver's local database. Also, you want to enable all your company's employees to login to the site without the need to create new accounts for all of them. To achieve that, a second container can be defined to be used by the LiveUser class. You can also define a permission container of your choice that will manage the rights for each user. Depending on the container, you can implement any kind of permission schemes for your application while having one consistent API. Using different permission and auth containers, it's easily possible to integrate newly written applications with older ones that have their own ways of storing permissions and user data. Just make a new container type and you're ready to go! Here's the database table structure, and which table belongs to which container level:
Currently available are containers using: PEAR::DB, PEAR::MDB, PEAR::MDB2. PECL::PDO, PEAR::XML_Tree and PEAR::Auth.
This site powered by YaWiki 0.22 beta. |