code: def get_token(url: str, scopes: str, credentials_dir: str) -> dict:
      
  
      tokens.configure(url=url, dir=credentials_dir)
      tokens.manage('lizzy', [scopes])
      tokens.start()
  
      return tokens.get('lizzy')
docs: Get access token info.