Add CheckClientCredentials route middleware
This commit is contained in:
parent
2bc576d3f6
commit
668555aff5
|
@ -3,6 +3,7 @@
|
|||
namespace App\Http;
|
||||
|
||||
use Illuminate\Foundation\Http\Kernel as HttpKernel;
|
||||
use Laravel\Passport\Http\Middleware\CheckClientCredentials;
|
||||
|
||||
class Kernel extends HttpKernel
|
||||
{
|
||||
|
@ -64,5 +65,6 @@ class Kernel extends HttpKernel
|
|||
'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class,
|
||||
'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
|
||||
'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class,
|
||||
'client' => CheckClientCredentials::class,
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue