2019-12-10 19:32:50 -08:00
|
|
|
<?php
|
|
|
|
return [
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| 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.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
'private_key' => env('PASSPORT_PRIVATE_KEY'),
|
|
|
|
'public_key' => env('PASSPORT_PUBLIC_KEY'),
|
2020-11-09 22:52:55 -08:00
|
|
|
'expiration_years' => env('API_TOKEN_EXPIRATION_YEARS', 20),
|
2019-12-10 19:32:50 -08:00
|
|
|
];
|