I'm trying to write some code to validate user roles and permissions against the DB. This is to let people do certain things on the front end (including login) without taking them to the normal login screen.
I looked in the DB and all I saw in the password field was $P$ or something. I'm familiar with storing a typical password+salt encrypted password but this is something different.
How can I authenticate/authorize vs against the users table in the DB?