jeudi 18 janvier 2018

With chrisbjr/api-guard how do I turn off it auth for a subset of routes

Under Laravel 5.1

How do I turn off api-guard for certain routes and turn it on for others. We're building an app that needs REST API as well as standard web stuff.

We'd like mobile users to be able to log in and get their auth key, then use that for subsequent auth'd calls. Non mobile users to utilize the Laravel auth that comes out of the box.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire