from pydantic import BaseModel class Token(BaseModel): access_token: str token_type: str class TokenPayload(BaseModel): sub: str = None exp: int = None