fooder-api/fooder/model/token.py
2023-04-01 16:19:12 +02:00

10 lines
161 B
Python

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