LiveUser

PEAR::LiveUser authentication and permission framework

AdvancedSearch | AreaMap ]

Search:

  Welcome to LiveUser   Documentation   RoadMap   Wishlist   About  
   

Username:

Password:


Areas In
This Wiki

BEPHPUG

Conferences

emPHPower

LiveUser

Main

MDB2

PDO

PHPSVN

PHPTODO

RDBMS

WebBuilder2

About

On this wiki you will find information and documentation about the package, be them howto, tutorials, news, status and so on.

This wiki is not :

  • not used to keep tracks of bugs, for that go to http://pear.php.net/bugs/report.php?package=LiveUser
  • not used to discuss orientations on the development of the package. All discussion about LiveUser development should be send to pear-dev@lists.php.net. Question on how to use LiveUser should be directed at pear-general@lists.php.net. Result of discussions may result in documents being published here but the discussion process itself will happen on the list.

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
  • The Auth containers
  • The Perm containers

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:

http://www.backendmedia.com/LiveUser/liveuser_db_schema.png

Currently available are containers using:

PEAR::DB, PEAR::MDB, PEAR::MDB2. PECL::PDO, PEAR::XML_Tree and PEAR::Auth.

LiveUser:LiveUser (88.72.33.133)
Fri, 08 Dec 2006, 15:15
[ Links | Source | History | RSS ]

This site powered by YaWiki 0.22 beta.