| Server IP : 198.38.94.13 / Your IP : 216.73.217.33 Web Server : Apache System : Linux d4744.dxb1.stableserver.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : revivere ( 1140) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /opt/saltstack/salt/lib/python3.10/site-packages/zmq/auth/__pycache__/ |
Upload File : |
o
;j � @ sZ d Z ddlZddlmZmZ ddlZddlmZ ejde dd� G d d
� d
e�Z
d
gZdS )z�ZAP 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 s@ e Zd ZdZ dded dededef� fd d
�
Z� ZS )�IOLoopAuthenticatorz0ZAP authentication for use in the tornado IOLoopN�utf-8�contextzzmq.Context�encoding�log�io_loopc sD d }|d urt j| jj� d�tdd� |j}t� j||||d� d S )Nz#(io_loop) is deprecated and ignoredr r )r r r
�loop)�warnings�warn� __class__�__name__�DeprecationWarningZasyncio_loop�super�__init__)�selfr r r
r r �r � �C/opt/saltstack/salt/lib/python3.10/site-packages/zmq/auth/ioloop.pyr s �zIOLoopAuthenticator.__init__)Nr
NN) r �
__module__�__qualname__�__doc__r �strr r �
__classcell__r r r r r s �����r )r r �typingr r ZzmqZasyncior r r r �__all__r r r r �<module> s �