Thanks for the feedback, I would have loved to include 3rd party authentication api’s with the library but I sadly don’t have the time in the foreseeable future to implement it.
Coding the library, the demo and then writing the documentation takes up a lot of unpaid hours.
However, if someone else ever wants to jump in a give it a go, I am willing to lend a hand where and when I can help.
I realise having to define the $this->auth variable before loading the library is cumbersome and messy.
It was never intended to be done that way until a serious bug late in development of the library when using PHP 5.4 forced me to define the var before the library is loaded. Originally it was defined within the lite library model, but with PHP 5.4 the var could no longer be accessed by other library files.
If you reckon you know a better way of doing this within the library files themselves - please let me know!
As you already sussed out yourself, the only way to auto load the library is via extending CI’s controllers - which to be honest - is something I do In nearly all of my own projects, so personally I don’t find it a problem.
Regarding using the library with HMVC, I’m afraid I haven’t tried using them together so cannot help on that matter.
For anyone looking for info on how to implement this, read up at the following: