jwt.php 510 B

12345678910111213141516171819
  1. <?php
  2. return [
  3. 'secret' => env('JWT_SECRET'),
  4. //Asymmetric key
  5. 'public_key' => env('JWT_PUBLIC_KEY'),
  6. 'private_key' => env('JWT_PRIVATE_KEY'),
  7. 'password' => env('JWT_PASSWORD'),
  8. //JWT time to live
  9. 'ttl' => env('JWT_TTL', 30 * 36000 * 24),
  10. //Refresh time to live
  11. 'refresh_ttl' => env('JWT_REFRESH_TTL', 20160),
  12. //JWT hashing algorithm
  13. 'algo' => env('JWT_ALGO', 'HS384'),
  14. 'blacklist_storage' => thans\jwt\provider\storage\Tp6::class,
  15. ];