Files

44 lines
1.3 KiB
PHP
Raw Permalink Normal View History

2022-12-24 05:47:50 +01:00
<?php
2023-01-15 15:47:25 +01:00
2026-04-22 18:51:05 +02:00
declare(strict_types=1);
2022-12-24 05:47:50 +01:00
return [
2022-12-24 05:47:50 +01:00
/*
|--------------------------------------------------------------------------
| Passport Guard
|--------------------------------------------------------------------------
|
| Here you may specify which authentication guard Passport will use when
| authenticating users. This value should correspond with one of your
| guards that is already present in your "auth" configuration file.
|
*/
2022-12-24 05:47:50 +01:00
2026-04-24 05:45:42 +02:00
'guard' => env_default_when_empty(env('AUTHENTICATION_GUARD'), 'web'),
2022-12-24 05:47:50 +01:00
/*
|--------------------------------------------------------------------------
| Encryption Keys
|--------------------------------------------------------------------------
|
| Passport uses encryption keys while generating secure access tokens for
| your application. By default, the keys are stored as local files but
| can be set via environment variables when that is more convenient.
|
*/
2024-01-01 14:45:51 +01:00
'private_key' => env('PASSPORT_PRIVATE_KEY'),
2022-12-24 05:47:50 +01:00
2024-01-01 14:45:51 +01:00
'public_key' => env('PASSPORT_PUBLIC_KEY'),
2022-12-24 05:47:50 +01:00
'personal_access_client' => [
'id' => env('PASSPORT_PERSONAL_ACCESS_CLIENT_ID'),
'secret' => env('PASSPORT_PERSONAL_ACCESS_CLIENT_SECRET'),
],
2026-04-22 18:51:05 +02:00
'middleware' => [],
'connection' => env('PASSPORT_CONNECTION'),
2022-12-24 05:47:50 +01:00
];