class_docstr: Run ZAP authentication in a background thread
class_docstr_tok: ["Run","ZAP","authentication","in","a","background","thread"]
docstr: Start the authentication thread
docstr_tok: ["Start","the","authentication","thread"]
code: def start(self) -> None:
      """Start the authentication thread"""
      # start the Authenticator
      super().start()
  
      # create a socket pair to communicate with auth thread.
      self.pipe = self.context.socket(zmq.PAIR, socket_class=zmq.Socket)
      self.pipe.linger = 1
      self.pipe.bind(self.pipe_endpoint)
      thread_pipe = self.context.socket(
          zmq.PAIR, socket_class=zmq.Socket
      )
      thread_pipe.linger = 1
      thread_pipe.connect(self.pipe_endpoint)
      self.thread = AuthenticationThread(
          authenticator=self, pipe=thread_pipe
      )
      self.thread.start()
      if not self.thread.started.wait(timeout=10):
          raise RuntimeError("Authenticator thread failed to start")
  
file_path: catboost/contrib/python/pyzmq/py3/zmq/auth/thread.py
imports: import asyncio
  from threading import Event, Thread
  from typing import Any, List, Optional
  import zmq
  import zmq.asyncio
  from .base import Authenticator
label_desc: Use image node_id 2 for calling the ThreadAuthenticator obj's underlying member method code with example usage: obj.start() without return types