Verify Laravel password in iOS app offline

91 Views Asked by At

I'm creating an app that hooks to a Laravel backend. I've got my user table downloaded and stored on the app for offline. Now I need to figure out how to allow login to the app, ideally using the same password that was created in the Laravel backend.

I've done a little digging and see that Laravel uses the password_hash and password_verify php functions with bcrypt. I've installed this bcrypt library but still not quite able to put all the pieces together.

I need the app to function fully offline, and I really do not want to have to create separate passwords.

Does anyone have any insight?

Thank you

0

There are 0 best solutions below