code: def parse(cls, request: web.Request) -> AuthWidgetData:
          
          try:
              query = dict(request.query)
              query['id'] = int(query['id'])
              query['auth_date'] = int(query['auth_date'])
              widget = AuthWidgetData(**query)
          except (ValueError, KeyError):
              raise web.HTTPBadRequest(text='Invalid auth data')
          else:
              return widget
docs: Parse request as Telegram auth widget data.
  
          :param request:
          :return: :obj:`AuthWidgetData`
          :raise: :obj:`aiohttp.web.HTTPBadRequest`