
    f                     z    d Z ddlZddlmZmZ ddlZddlmZ  ej                  de	d        G d	 d
e      Z
d
gZy)zZAP Authenticator integrated with the tornado IOLoop.

.. versionadded:: 14.1
.. deprecated:: 25
    Use asyncio.AsyncioAuthenticator instead.
    Since tornado runs on asyncio, the asyncio authenticator
    offers the same functionality in tornado.
    N)AnyOptional   )AsyncioAuthenticatorz\zmq.auth.ioloop.IOLoopAuthenticator is deprecated. Use zmq.auth.asyncio.AsyncioAuthenticator   
stacklevelc            	       D     e Zd ZdZ	 	 	 	 dded   dededef fdZ xZS )	IOLoopAuthenticatorz0ZAP authentication for use in the tornado IOLoopcontextzzmq.Contextencodinglogio_loopc                     d }|?t        j                  | j                  j                   dt        d       |j
                  }t        |   ||||       y )Nz#(io_loop) is deprecated and ignoredr   r   )r   r   r   loop)warningswarn	__class____name__DeprecationWarningasyncio_loopsuper__init__)selfr   r   r   r   r   r   s         J/var/www/cvtools/html/venv/lib/python3.12/site-packages/zmq/auth/ioloop.pyr   zIOLoopAuthenticator.__init__   s[     MM>>**++NO"
 ''D84P    )Nzutf-8NN)	r   
__module____qualname____doc__r   strr   r   __classcell__)r   s   @r   r   r      sO    : ,0Q-(Q Q 	Q
 Q Qr   r   )r   r   typingr   r   zmqasyncior   r   r   r   __all__ r   r   <module>r'      sJ     ! 
 ) bQ. Q* !
!r   