api-guard
api-guard copied to clipboard
A simple way of authenticating your RESTful APIs with API keys using Laravel
Is it not possible to set a type for the Authorization header? i.e Authorization: Bearer
during the upgrade from `3.*` to `4.*` the unauthorised response changed from ```` [ 'error' => [ 'code' => 'GEN-UNAUTHORIZED', 'http_code' => 401, 'message' => 'Unauthorized' ] ] ```` to...
Hi, I am using API Validation Responses / ApiGuardFormRequest When it does not pass the validation criteria it redirect to homepage. Not showing error. **_I am using Laravel 5.5.34_**
I am using api-guard in the normal way. When I look at the query times in the debug toolbar, the api-guard query is always tagged as slow: `select * from...
ApiGuard
Hello, I have an issue with transform and availableIncludes. This is my LeagueTransformer.php ```
How to fill apikeyable_id column like this command php artisan api-key:generate --id=1 --type="App\User" in controller file? I try ``` $user = User::find(10); $user->createApiKey(); ``` But the `apikeyable_id` still null. `apikeyable_type`...
Half a comment / Half a question Laravel: v5.6 api-guard: v4.1 In the Http/Kernel.php file, middleware section I noticed that Is half-working since the user won't be set in the...
how to except method in controller like store method from the controller
Method Auth::user() doesn't work. How can i recovery user logged?