直接从驱动程序访问数据库是否有效?

I am writing an authentication library for Code Igniter using drivers (mostly for practice).
I am writing the library so that it is extensible so am using the driver platform.

The library has a few drivers,
simple (basic username/password),
facebook,
twitter,
google

Each driver has its own set of database tables for the different authentication methods.

You can call $this->user->is('logged in') which asks all the valid drivers if the user is logged in.

or you can just call $this->user->facebook->is('logged in') to find out if the user has logged in through facebook etc.

Now for the simple login method you will want to get the users username/password from the database.

for the facebook login method you will want to check if there is a facebook token in the database etc. these calls, are they ok to be called from the drivers or should I create a model for each driver?