code: def auth_payload(self, login_pwd):
          
  
          payload = '''<?xml version="1.0" encoding="utf-8"?>
          <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
          <soap:Body>
          <Login xmlns="http://purenetworks.com/HNAP1/">
          <Action>login</Action>
          <Username>{}</Username>
          <LoginPassword>{}</LoginPassword>
          <Captcha/>
          </Login>
          </soap:Body>
          </soap:Envelope>
          '''.format(self.user, login_pwd)
  
          return payload.encode()
docs: Generate a new payload containing generated hash information.
  
          :type login_pwd: str
          :param login_pwd: hashed password generated by the auth function.