1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- <?php
-
- use Laravel\Sanctum\Sanctum;
-
- return [
-
-
-
-
- 'stateful' => explode(',', env('SANCTUM_STATEFUL_DOMAINS', sprintf(
- '%s%s',
- 'localhost,localhost:3000,127.0.0.1,127.0.0.1:8000,::1',
- Sanctum::currentApplicationUrlWithPort()
- ))),
-
-
-
-
- 'guard' => ['web'],
-
-
-
-
- 'expiration' => null,
-
-
-
-
- 'token_prefix' => env('SANCTUM_TOKEN_PREFIX', ''),
-
-
-
-
- 'middleware' => [
- 'authenticate_session' => Laravel\Sanctum\Http\Middleware\AuthenticateSession::class,
- 'encrypt_cookies' => App\Http\Middleware\EncryptCookies::class,
- 'verify_csrf_token' => App\Http\Middleware\VerifyCsrfToken::class,
- ],
-
- ];
|