text: """
  token.py
  
  created by dromakin as 03.05.2021
  Project app
  """
  
  __author__ = 'dromakin'
  __maintainer__ = 'dromakin'
  __credits__ = ['dromakin', ]
  __status__ = 'Development'
  __version__ = '20210503'
  
  from typing import Optional
  
  from pydantic import BaseModel
  
  
  class Token(BaseModel):
      access_token: str
      token_type: str
  
  
  class TokenPayload(BaseModel):
      sub: Optional[int] = None
  