2023-10-12 00:04:18 +02:00

9 lines
159 B
Python

from pydantic import BaseModel
class Token(BaseModel):
access_token: str
token_type: str
class TokenData(BaseModel):
username: str | None = None