class_docstr: Run ZAP authentication in a background thread
class_docstr_tok: ["Run","ZAP","authentication","in","a","background","thread"]
code: def allow(self, *addresses):
      self.pipe.send_multipart(
          [b"ALLOW"] + [b(a, self.encoding) for a in addresses]
      )
  
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 4 for calling the ThreadAuthenticator obj's underlying member method code with example usage: obj.allow() without return types