Top Level :: Authentication

Package Information: LiveUser 0.11.0

Show All Changelogs
» Version » Information
0.16.13 2008-01-28     beta
0.16.12 2006-08-22     beta
0.16.11 2006-04-19     beta
0.16.10 2006-02-27     beta
0.16.9 2006-02-21     beta
0.16.8 2005-12-21     beta
0.16.7 2005-10-10     beta
0.16.6 2005-09-02     beta
0.16.5 2005-08-17     beta
0.16.4 2005-08-15     beta
0.16.3 2005-08-09     beta
0.16.2 2005-07-20     beta
0.16.1 2005-07-05     beta
0.16.0 2005-06-21     beta
0.15.1 2005-03-30     beta
0.15.0 2005-03-15     beta
0.14.0 2004-12-20     beta
0.13.3 2004-10-23     beta
0.13.2 2004-10-13     beta
0.13.1 2004-10-02     beta
0.13.0 2004-09-30     beta
0.12.0 2004-06-19     beta
0.11.1 2004-04-28     beta
0.11.0Download

Release date: 2004-04-28 09:40 UTC
Release state: beta

Changelog:

- only disconnect when the disconnect option is set to true (default: null)
- fixed bug in call in init() in combination with direct passing of handle and password
- added ability to set the login/logout method to false to disable the feature
- login/logout method can now be post, get and request (the last one is new)
- fixed all the examples, should be mostly bug free now, method => get is now
used in logout, example 5 uses the newly added method singleton, all sql files
were updated and work now after they broke when last release was made.
- two_letter_name in liveuser_languages and right_define_name in liveuser_rights
were made unique in perm_db.sql
- change all quote() to quoteSmart() in DB container since quote() is deprecated
as of DB 1.6, so new dependancy of DB 1.6 is added.
- added ability to pass and array as the value of the owner_user_id parameter
in checkRightLevel()
- if you use addUser in the admin perm containers then you have to state the
auth container name else you get error msg back
- SHA1 encryption option added, PHP4.3 is needed if SHA1 encryption is used
- RC4 encryption added, Crypt_RC4 must be installed to use this
- added function getUser to all Auth containers in /Admin, this function gets
all info requested for given user and returns it in a array.
- _getPermUserId made public, now is getPermUserId Perm containers in /Admin
also added getAuthUserId in the same Perm containers
- customFields have been added to addUser and editUser (also in Admin class)
Note type is optional for DB, thus it's needed for MDB and MDB2,
we recommend that you use type even though you use DB, so if you change to MDB[2],
it will be no problem for you.
usage example for Admin class:
$custom = array(
array('name' => 'name', 'value' => 'asdf', 'type' => 'text'),
array('name' => 'email', 'value' => 'fleh@example.com', 'type' => 'text')
);
$user_id = $admin->adduser('johndoe', 'dummypass', true, null, null, null, $custom);
using the auth container straight would be:
$user_id = $admin->addUser('johndoe', 'dummypass', true, null, null,
null, $custom);
- Admin Class
- addUser now works with DB/MDB/MDB2
- removeUser now works with DB/MDB/MDB2
- updateUser now works with DB/MDB/MDB2
- getUser now works with DB/MDB/MDB2
- searchUser now works with DB/MDB/MDB2
Please test the Admin class for us and report any issue that you encounter if any.
Note. it's still experimental.
- customFields have been added to addGroup, editGroup and getGroups and this is used in
the same way as customFields for addUser/editUser
- checkRight() and checkRightLevel() both return the level of the given right or false
- checkRightLevel() can now check multiple right id's similar to how checkRight() can
- Admin Class
- tweaked setAdminContainers() method
- fixed issues with non numeric keys in $this->_conf['authContainers'] in
side setAdminAuthContainer() and setAdminContainers()
- applied several fixes to auth getUsers() to fix the custom field support
- expanded filter support in perm getUsers() to also allow group_id filtering
- made group_id param option in perm removeUserFromGroup()
- Removed group_define_name from perm_db.sql and from code since this was apart of the
old language system.
- fixed remember me (bug #570) and unified remember me passing
- database container can now accept an options array
- fixed a bug in readGroupRights() which would result in lower level's
potentially overwriting higher levels

Dependencies:
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: PEAR
  • PEAR Package: DB 1.6 or newer (optional)
  • PEAR Package: MDB 1.1.4 or newer (optional)
  • PEAR Package: XML_Tree (optional)
  • PEAR Package: Crypt_RC4 (optional)
  • PEAR Package: MDB2 2.0.0beta2 or newer (optional)
0.10.0 2004-03-11     beta
0.9 2003-10-09     beta
0.8.1 2003-08-28     beta
0.8 2003-08-27     beta
0.7 2003-06-01     alpha
0.6.1 2003-03-18     alpha
0.6 2003-03-17     alpha
0.5.1 2003-03-11     alpha
0.5 2003-03-11     alpha
0.3 2002-10-10     alpha