auth/ is now an independent package

This commit is contained in:
2026-05-19 22:31:30 +08:00
parent 623fac8749
commit af5f7b38f8
9 changed files with 204 additions and 6 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
from app.models.user import User
from app.auth.deps import get_current_user
from auth.deps import get_current_user
from fastapi import Request
from strawberry.fastapi import BaseContext
from strawberry.dataloader import DataLoader
+1 -1
View File
@@ -1,5 +1,5 @@
import strawberry
from app.auth.jwt import create_jwt_token, create_refresh_token
from auth.jwt import create_jwt_token, create_refresh_token
@strawberry.type
class AuthResponse: