Initial commit
Build & Push / build (push) Canceled after 0s

This commit is contained in:
2026-08-05 19:31:35 +03:00
commit a33fa24e99
272 changed files with 40566 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
from pydantic import BaseModel
class JWTConfig(BaseModel):
SECRET_KEY: str
ALGORITHM: str = 'HS256'
ACCESS_TOKEN_EXPIRE_MINUTES: int = 60 * 24 * 7 # 7 days
class JWTBase:
def __init__(self, config: JWTConfig) -> None:
self.config = config