laravel的sanctum
sanctum的控制属性定义在config/sanctum.php
默认用到的middleware中间件是
'middleware' => [ 'verify_csrf_token' => App\Http\Middleware\VerifyCsrfToken::class, 'encrypt_cookies' => App\Http\Middleware\EncryptCookies::class, ],
sanctum的控制属性定义在config/sanctum.php
默认用到的middleware中间件是
'middleware' => [ 'verify_csrf_token' => App\Http\Middleware\VerifyCsrfToken::class, 'encrypt_cookies' => App\Http\Middleware\EncryptCookies::class, ],