9 lines
159 B
Python
Raw Normal View History

2023-10-12 00:04:18 +02:00
from pydantic import BaseModel
class Token(BaseModel):
access_token: str
token_type: str
class TokenData(BaseModel):
username: str | None = None