[eluser]Vheissu[/eluser]
Is the way Codeigniter drivers currently work fundamentally broken? I recently built a driver based authentication library but noticed there is a major flaw in how drivers work or I might just be picky, I don't know.
If I have a simpleauth driver, facebook driver, twitter driver how can I standarise the library if not all drivers will share the same methods as one another? What if I have an LDAP driver as well, then it gets complicated. Not all auth drivers will share the same functions in common.
Am I just being picky by thinking that $this->auth->drivername->function is a long way to do things, when I could have a parent class route the function calls so I can go $this->auth->function instead? Is it good practice to implement the functions in the parent class instead of letting the drivers have free reign?