Add Auth schemas

This commit is contained in:
2026-01-26 21:56:15 +11:00
parent e74f5d717f
commit c84e173a7f

View File

@@ -0,0 +1,11 @@
"""Authentication schemas."""
from pydantic import BaseModel
class Token(BaseModel):
"""Token response schema."""
access_token: str
token_type: str
class TokenData(BaseModel):
"""Token data schema."""
username: str | None = None