Looking for a well written Authentication library
I am looking for a open source, well written PHP authentication library. That is up to date and keep a high standard on the code, well tested etc.

I'd love If these features were in it:

 - Login / Register / Activation
 - User level (priveligies, ranks, such as Moderator, Admin, Normal member, Guest, etc)
 - E-mail activation
 - etc.


Not all the features above is _required_ but I'm looking for something similar to that above. Any tips on libraries/code out there that is open source and well writen to start us for a project? (To save time!)
Looking for a well written Authentication library
===

I am looking for a open source, well written PHP authentication library. That is up to date and keep a high standard on the code, well tested etc.

I'd love If these features were in it:

 - Login / Register / Activation
 - User level (priveligies, ranks, such as Moderator, Admin, Normal member, Guest, etc)
 - E-mail activation
 - etc.


Not all the features above is _required_ but I'm looking for something similar to that above. Any tips on libraries/code out there that is open source and well writen to start us for a project? (To save time!)