Jan 9, 2017
0
Level 2
Authenticating multiple roles in laravel 5.3
Hi awesome people
i'm building an API which has Driver,Agent and Admin models
agent will be having a mobile app where as the admin will be given access to Web app.
i want authenticate Agents and Admin as well, i searched for resource hoe to do it but din't get any solution
so for i have installed passport and in User table added a user and tested using POST MAN it's working fine, i'm able to get access token
but i want to do the same authentication for the above models as well, i really don't know how to do it
i'm so confused now, looking forward for much needed help
Thank You
Please or to participate in this conversation.