|
Server : LiteSpeed System : Linux barito.iixcp.rumahweb.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 : elvh3918 ( 1528) PHP Version : 8.2.31 Disable Function : mail Directory : /proc/thread-self/root/usr/local/lib/python3.9/site-packages/amqp/__pycache__/ |
a
��Shb � @ 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 �3/usr/local/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__"