Files
2026-01-05 14:33:21 +08:00

9 lines
370 B
PHP

<?php
return [
'jwt_secret_key' => getenv('JWT_SECRET_KEY') ?: 'default_secret_key',
'jwt_algorithm' => getenv('JWT_ALGORITHM') ?: 'HS256',
'jwt_issuer' => getenv('JWT_ISSUER') ?: 'domain.com',
'jwt_expiration' => (int)(getenv('JWT_EXPIRATION') ?: 86400),
'jwt_refresh_token_expiration' => (int)(getenv('JWT_REFRESH_TOKEN_EXPIRATION') ?: 2592000)
];