Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/monkeymars/codeigniter-ion-auth
Simple and Lightweight Auth System based on Redux Auth 2
https://github.com/monkeymars/codeigniter-ion-auth
Last synced: 3 months ago
JSON representation
Simple and Lightweight Auth System based on Redux Auth 2
- Host: GitHub
- URL: https://github.com/monkeymars/codeigniter-ion-auth
- Owner: monkeymars
- Fork: true (benedmunds/CodeIgniter-Ion-Auth)
- Created: 2012-11-21T05:11:46.000Z (about 12 years ago)
- Default Branch: 2
- Last Pushed: 2012-11-20T22:22:28.000Z (about 12 years ago)
- Last Synced: 2023-04-01T16:02:16.670Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 799 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#Ion Auth 2
###The future of authentication
by [Ben Edmunds](http://benedmunds.com)Redux Auth 2 had a lot of potential. It's lightweight, simple, and clean,
but had a ton of bugs and was missing some key features. So we refactored
the code and added new features.This version drops any backwards compatibility and makes things even more
awesome then you could expect.##Documentation
Documentation is located at http://benedmunds.com/ion_auth/##Installation
Just copy the files from this package to the correspoding folder in your
application folder. For example, copy Ion_auth/config/ion_auth.php to
system/application/config/ion_auth.php.###Relational DB Setup
Then just run the appropriate SQL file (if you're using migrations you can
get the migrations from JD here:
https://github.com/iamfiscus/codeigniter-ion-auth-migration).###MongoDB Setup
Integrate the following projects to enable MongoDB support in CodeIgniter:
CodeIgniter MongoDB Active Record Library - http://github.com/alexbilbie/codeigniter-mongodb-library/tree/v2
CodeIgniter MongoDB Session Library - http://github.com/sepehr/ci-mongodb-session
Set $config['use_mongodb'] = TRUE; in the config file and then run the following command:
$ mongorestore sql/mongo##Usage
In the package you will find example usage code in the controllers and views
folders. The example code isn't the most beautiful code you'll ever see but
it'll show you how to use the library and it's nice and generic so it doesn't
require a MY_controller or anything else.###Default Login
Username: [email protected]
Password: password###Important
It is highly recommended that you use encrypted database sessions for security!###Optimization
It is recommended that you add your identity column as a unique index.Feel free to send me an email if you have any problems.
Thanks,
-Ben Edmunds
[email protected]
@benedmunds