service_man/api/infrastructure/auth/jwt_settings.py

9 lines
185 B
Python

from dataclasses import dataclass, field
@dataclass(frozen=True)
class JwtSettings:
secret: str
expires_in: int = field(default=2)
algorithm: str = field(default="HS256")