class_docstr: Run ZAP authentication in a background thread
class_docstr_tok: ["Run","ZAP","authentication","in","a","background","thread"]
code: def configure_plain(self, domain="*", passwords=None):
      self.pipe.send_multipart(
          [
              b"PLAIN",
              b(domain, self.encoding),
              jsonapi.dumps(passwords or {}),
          ]
      )
  
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 6 for calling the ThreadAuthenticator obj's underlying member method code with example usage: obj.configure_plain(domain, passwords) without return types