I have been looking all over the Internet and many articles, but things I've tried just are not working. What I want to do is very simple. I have an existing database with columns email, securepass and secureid. When a user logs in I want to check that the email, securepass and secureid they have supplied matches with the database.
The additional complication is that the securepass and secureid have to use sha256 for the authentication as that's what they are stored as in the database. I can't use Laravel's bcrypt default.
What is the best way to do this? Should I use the Eloquent ORM? Should I create my own user provider or my own user driver? I just don't know and a lot of the articles I've read don't always distinguish between Laravel 4 and 5. The database is standard MySQL.