code: def build(self, in_response_to):
          
          sp_data = self.__settings.get_sp_data()
          idp_data = self.__settings.get_idp_data()
  
          uid = OneLogin_Saml2_Utils.generate_unique_id()
          issue_instant = OneLogin_Saml2_Utils.parse_time_to_SAML(OneLogin_Saml2_Utils.now())
  
          logout_response = OneLogin_Saml2_Templates.LOGOUT_RESPONSE % \
              {
                  'id': uid,
                  'issue_instant': issue_instant,
                  'destination': idp_data['singleLogoutService']['url'],
                  'in_response_to': in_response_to,
                  'entity_id': sp_data['entityId'],
                  'status': "urn:oasis:names:tc:SAML:2.0:status:Success"
              }
  
          self.__logout_response = logout_response
docs: Creates a Logout Response object.
          :param in_response_to: InResponseTo value for the Logout Response.
          :type in_response_to: string