/**
 * JWT Configuration
 */

export interface JwtConfig {
  secret: string;
  accessExpiresIn: string;
  refreshExpiresIn: string;
}

export const jwtConfig = (): JwtConfig => ({
  secret: process.env.JWT_SECRET || 'default-jwt-secret-change-in-production',
  accessExpiresIn: process.env.JWT_ACCESS_EXPIRES_IN || '2h',
  refreshExpiresIn: process.env.JWT_REFRESH_EXPIRES_IN || '30d',
});
