class_docstr: Run ZAP authentication in a background thread
class_docstr_tok: ["Run","ZAP","authentication","in","a","background","thread"]
code: def configure_curve(self, domain="*", location=""):
      domain = b(domain, self.encoding)
      location = b(location, self.encoding)
      self.pipe.send_multipart([b"CURVE", domain, location])
  
imports: import time
  import logging
  from threading import Thread, Event
  import zmq
  from zmq.utils import jsonapi
  from zmq.utils.strtypes import bytes, unicode, b, u
  import sys
  from .base import Authenticator
label_desc: Use image node_id 7 for calling the ThreadAuthenticator obj's underlying member method code with example usage: obj.configure_curve(domain, location) without return types