Buckets:

download
raw
555 Bytes
# src/auth_rsha/config.py
from pydantic_settings import BaseSettings
from pydantic import Field
class AuthSettings(BaseSettings):
jwt_secret: str = Field(..., min_length=32)
jwt_alg: str = "HS256"
access_ttl: int = 3600
refresh_ttl: int = 60 * 60 * 24 * 7
token_url_path: str = "/auth/token"
issuer: str | None = None
audience: str | None = None
leeway_sec: int = 30 # допуск по времени
model_config = {
"env_prefix": "AUTH_RSHA_",
"env_file": ".env",
"extra": "ignore",
}

Xet Storage Details

Size:
555 Bytes
·
Xet hash:
660f7247d2a6ee46bb07c01fa9c2dbf6e5e751a3162ac9df4504e676d60bf61f

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.