Skip to content
World Wide Web Server edited this page Jul 4, 2012 · 31 revisions

One of many, Community Auth is an authentication system for CodeIgniter. I decided to create this authentication system because I felt that I needed to be able to understand the authentication system, and not use one of the existing authentication systems. Community Auth is not meant to be a one size fits all authentication system, but rather a base for you to build from. Since the needs of most authentication systems will vary greatly from site to site, I just tried to provide the core functionality that most sites will need, without getting too specific. If nothing else, Community Auth would be a good example for you to follow as you build your own authentication system.

Community Auth is well commented, and usage can be seen in any of the controllers in the download. A set of instructions in a readme.txt file will guide you through setting up Community Auth on a new installation of CodeIgniter.

Community Auth uses php $_SESSIONs. If this will disappoint you, you might not want to download the zip file. I chose to use $_SESSIONs because I am comfortable using them, and CI sessions behave a little differently. No offense to CI sessions intended, because Community Auth does take advantage of the flash sessions of CI's session library.

The current download includes the following functionality:

  1. Multi-level user management
  2. Multi-mode registrations
  3. Password recovery
  4. User creation

I have currently tested Community Auth:

  1. On CodeIgniter 1.7.1
  2. In versions of php greater than 5.2.0

Please see my website for download:

[url=http://auth.brianswebdesign.com]Community Auth[/url]

Category:Libraries::Authorization Category:Libraries::Authentication

Category:Contributions::Libraries::Authentication

Clone this wiki locally