mercredi 21 mars 2018

Authentication In Laravel 5.x Having Different Table And Different Field Aswell As Mobile OTP

We want to implement User Authentication for Seller, Buyers and Admins. These data are stored in Different Tables. For Buyers We Need To authenticate with OTP. For Sellers and Admins, we have password.

Searching a Lot On Internet I was Unable to understand as I am a beginner.

There are something like Middleware, Guards, Providers, Auth with User Model.

I want to understand, How can we use guards and where do we need it? When do we need to create middleware? Where do we need to set session for particular seller so that he can access their own data (Seller have their own dashboard)?

I need to restrict website access, and all are stored in different table.

Kindly Explain. It is going to help a lot of People.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2FQJzUv
via IFTTT

Aucun commentaire:

Enregistrer un commentaire