backend
This commit is contained in:
commit
d7666f7b2c
44 changed files with 2246 additions and 0 deletions
10
backend/schemas/token.py
Normal file
10
backend/schemas/token.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
# backend/schemas/token.py
|
||||
from pydantic import BaseModel
|
||||
from typing import Optional
|
||||
|
||||
class Token(BaseModel):
|
||||
access_token: str
|
||||
token_type: str
|
||||
|
||||
class TokenData(BaseModel):
|
||||
email: Optional[str] = None
|
Loading…
Add table
Add a link
Reference in a new issue