aboutsummaryrefslogtreecommitdiff
path: root/api/schemas/auth_schemas.py
diff options
context:
space:
mode:
Diffstat (limited to 'api/schemas/auth_schemas.py')
-rw-r--r--api/schemas/auth_schemas.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/api/schemas/auth_schemas.py b/api/schemas/auth_schemas.py
deleted file mode 100644
index 006a7c8..0000000
--- a/api/schemas/auth_schemas.py
+++ /dev/null
@@ -1,20 +0,0 @@
-from pydantic import BaseModel
-
-
-class Token(BaseModel):
- access_token: str
- refresh_token: str | None = None
- token_type: str
-
-
-class TokenData(BaseModel):
- username: str | None = None
-
-
-class User(BaseModel):
- username: str
- id: int
-
-
-class UserInDB(User):
- hashed_password: str