storage_path('oauth/private.key'), 'public_key' => storage_path('oauth/public.key'), 'encryption_key' => env('OAUTH2_ENCRYPTION_KEY'), 'access_token_expire' => 3600 * 24, // 24小时 'refresh_token_expire' => 3600 * 24 * 30, // 30天 'auth_code_expire' => 600, // 10分钟 'grants' => [ 'password' => [ 'enabled' => true, ], 'refresh_token' => [ 'enabled' => true, ], 'authorization_code' => [ 'enabled' => true, ], 'client_credentials' => [ 'enabled' => true, ], ], ];