CodeIgniter Forums
Ion Auth - Lightweight Auth System based on Redux Auth 2 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: Ion Auth - Lightweight Auth System based on Redux Auth 2 (/showthread.php?tid=27435)



Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 02-03-2011

[eluser]dallen33[/eluser]
Definitely works with CodeIgniter 2.0.0.


Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 02-03-2011

[eluser]joytopia[/eluser]
[quote author="dallen33" date="1296788956"]Definitely works with CodeIgniter 2.0.0.[/quote]

But you will need this CI2.0 patch
https://bitbucket.org/ellislab/codeigniter/issue/252/undefined-method-error-produced-when-using


Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 02-04-2011

[eluser]Ben Edmunds[/eluser]
xatrix,

I won't walk you through it completely cause it's not a simple process but basically I just add the token fields to the meta table and update_user() when I get the token back from the API.


Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 02-07-2011

[eluser]Ricola[/eluser]
if i wanna change a db engine from myisam to innodb , what i have to do something before?


Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 02-08-2011

[eluser]Ben Edmunds[/eluser]
Ricola,

Don't think so.


Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 02-08-2011

[eluser]benske[/eluser]
Hello
Thanks for this library, it's what I needed!


Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 02-08-2011

[eluser]Basketcasesoftware[/eluser]
Hopefully I'm not repeating a question, but is there a way to integrate this with DataMapper version 1.8 easily? Or is this capability already in place and this is a non-issue? I know Ion Auth is very database dependent. If it is an issue I think I'm up to writing appropriate models.


Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 02-10-2011

[eluser]Ben Edmunds[/eluser]
Basketcasesoftware,

How do you want to integrate it?

The tables should work fine with DataMapper's expected schemas so if you want to use DM just create the models.


Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 02-10-2011

[eluser]Basketcasesoftware[/eluser]
I'm working with tables with user-configurable distribution across multiple databases/servers. Need that self-contained table model that DataMapper uses because of it.

I sort of thought along those lines that you mentioned but it's looking like I'm going to have to rewrite the existing model and the functions you included in them (which I admit you mentioned). May have to make changes in your existing code elsewhere. Thank goodness it's pretty small and well commented. Smile I don't even have a clue what to do with that join field option in you config file as DataMapper handles the joins between tables. I've had to side track on other projects but I'll get around to finishing the rewrites by the end of this weekend. A nice feature is I don't have to include that code to detect CI versions. I just extend off of the DataMapper object which has already taken care of that already.

I'll send you the finished code when I'm done so you see what I'm talking about.


Ion Auth - Lightweight Auth System based on Redux Auth 2 - El Forum - 02-10-2011

[eluser]Ben Edmunds[/eluser]
Basketcasesoftware,

Have fun dude. Definitely send me a copy when your done, sounds cool.