Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/amqp/__pycache__/sasl.cpython-39.pyc
Ðазад
a k�hb � @ s� d Z ddlZddlZddlmZ ddlmZ G dd� d�ZG dd� de�ZG d d � d e�Z dd� Z e � ZG d d� de�ZG dd� de�Z dS )z(SASL mechanisms for AMQP authentication.� N)�BytesIO)�_write_tablec @ s$ e Zd ZdZedd� �Zdd� ZdS )�SASLz�The base class for all amqp SASL authentication mechanisms. You should sub-class this if you're implementing your own authentication. c C s t �dS )z2Return a bytes containing the SASL mechanism name.N��NotImplementedError��self� r �y/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/amqp/sasl.py� mechanism s zSASL.mechanismc C s t �dS )z@Return the first response to a SASL challenge as a bytes object.Nr �r � connectionr r r �start s z SASL.startN)�__name__� __module__�__qualname__�__doc__�propertyr r r r r r r s r c @ s( e Zd ZdZdZdd� ZdZdd� ZdS ) �PLAINzbPLAIN SASL authentication mechanism. See https://tools.ietf.org/html/rfc4616 for details s PLAINc C s || | _ | _d S �N��username�password�r r r r r r �__init__"