refresh tokens 0.1.3

This commit is contained in:
2026-07-23 21:44:35 +03:00
parent eab78b6679
commit be8eb0c485
7 changed files with 78 additions and 28 deletions

View File

@@ -1,9 +1,10 @@
from uuid import UUID
from src.models.database_models.model import Model, engine, RefreshTokens
from src.models.database_models.model import engine, RefreshTokens
from sqlalchemy import and_, not_, select
from sqlalchemy.orm import sessionmaker
from src.models.pydantic_models.model import RefreshTokensCreate, RefreshTokensOut
from src.models.pydantic_models.model import RefreshTokensOut
class JwtCrudActions:
def __init__(self) -> None:
self.Session=sessionmaker(bind=engine)