CodeIgniter Forums
MeNeedz Auth - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forum-22.html)
+--- Thread: MeNeedz Auth (/thread-13058.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20


MeNeedz Auth - El Forum - 11-09-2008

[eluser]davidbehler[/eluser]
Yes, yes, I know. There are quite a few authentication libraries around but I just can't deny you my own little creation!

The name "MeNeedz Auth" might be kinda strange to you (it derives from the working title of my current project) but don't let that stop you from testing it!

So, what does my library do?
It handles the process of login and can be used to restrict access to a specific user group.

But that's what most of the libraries posted here can do. How's yours different?
I think my library is different because it does not require a certain database layout or a database at all. You can choose to use salting or not (and how you want to combine the salt with the passwort), tell the library what encryption to use (md5 and sha so far) or even don't use a database at all and only use a certain identifier/password combination.

Identifier? Yes! You are not restricted to use the username and a password for login, you can use what ever identifier you want to use. E-mail? Full name? A number? What ever you want!

Does the library have any requirements at all? Yes, sadly it does. You need a library called "session" (e.g. the standard codeigniter session library) to handle the session.

How can I tell the library how I want my users to be authed?
When loading the library you can either use a config array as a parameter or create a config file "auth.php" in your config folder where you can set all the parameters. What parameters can be used can be seen in the library. If you don't want to use the config array or the config file then you can just go ahead and change the variables in the library.

Ok. Sounds great! Where can I get that wonderful thing?
Just grab it from here: --&gt; click me <--
View the user guide here (also included in the download: --&gt; click me <--

Latest Update on 18-11-2008
Version 1.7:
- Added a new function that let's you set a new password for a given user

I am really looking forward to your comments and your suggestions on how to improve the library!

Greets,
waldmeister


MeNeedz Auth - El Forum - 11-09-2008

[eluser]ray73864[/eluser]
interesting, this sounds really good, is there a userguide for it?


MeNeedz Auth - El Forum - 11-09-2008

[eluser]davidbehler[/eluser]
Not yet, but I just thought about writing one. Gimme some hours of sleep and I will be able to present you one!


MeNeedz Auth - El Forum - 11-10-2008

[eluser]pembelajar[/eluser]
Sounds very great!


MeNeedz Auth - El Forum - 11-10-2008

[eluser]davidbehler[/eluser]
I have just finished the user guide for my library. I used the CI User Guide as a template for mine, hopefully that's ok.

I have updated the downloadable archive with the most current version of my library and included my user guide.

You can either grab the whole package from here: --&gt; click me <--
Or you can just view the user guide online here: --&gt; click me <--

Have fun reading and trying my library Smile
I hope you like it and I am still looking forward to your suggestions/comments on how to improve my library.

Greetz,
waldmeister


MeNeedz Auth - El Forum - 11-10-2008

[eluser]ray73864[/eluser]
thanks for the userguide, was just reading over it and am very impressed with how your authentication library works. I will probably end up using it for several websites that i am doing.

does the library work with both php4 and 5?


MeNeedz Auth - El Forum - 11-10-2008

[eluser]davidbehler[/eluser]
So far I have only tested it with PHP5 but I guess it should work with PHP4, didn't use any fancy new functions or something like that.

Glad to hear you like it Smile


MeNeedz Auth - El Forum - 11-10-2008

[eluser]Sam Dark[/eluser]
User Guide seems to be interesting. Will test it.


MeNeedz Auth - El Forum - 11-10-2008

[eluser]abmcr[/eluser]
Very little and useful! One request: the library don't support the coookie fore create a "remember on yhis compyrter"?
Thank you ciao


MeNeedz Auth - El Forum - 11-10-2008

[eluser]davidbehler[/eluser]
Ok.
You want it, you get it!

I have just implemented a new feature that allows the user to determine wether he wants to be remembered (cookie "never" expires) or has to login again after a certain amount of time (the expiration time set in your session config).

I have updated both the user guide and the rar-file.

I hope that's what you were looking for.

Have fun Smile