I am writing a webapp using CodeIgniter that requires authentication. I created a model which handles all my authentication. However, I can\'t find a way to access this auth
Don't handle authentication in your model. Only use models to interface with your database, or ldap or whatever.
I created an Auth library that I use to manage authentication and authorization. You can access a library like this from your controllers.