You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

12 regels
172 B

  1. from pydantic import BaseModel
  2. class Token(BaseModel):
  3. access_token: str
  4. token_type: str
  5. class TokenPayload(BaseModel):
  6. sub: str = None
  7. exp: int = None