Dec 20, 2017
0
Level 2
Is it possible to write a script that can be accessed using "web session guard" as well as "API guard"
I am trying to build new web application in laravel and the scripts that I am going to write I want it to be accessed by my web app as well as via API request.
So my question is that, Is it possible to write a script that can accessed using "web session guard" as well as "API guard" if yes how can I achieve that.
I would be using passport for API authentication.
Thanks.
Please or to participate in this conversation.