SASLPlain Class
SASL Plain AMQP authentication. This is SASL authentication using a basic username and password.
- Inheritance
-
SASLPlain
Constructor
SASLPlain(hostname, username, password, port=5671, verify=None, http_proxy=None, transport_type=<TransportType.Amqp: 1>, encoding='UTF-8')
Parameters
- http_proxy
- dict
default value: None
HTTP proxy configuration. This should be a dictionary with the following keys present: 'proxy_hostname' and 'proxy_port'. Additional optional keys are 'username' and 'password'.
- transport_type
- <xref:uamqp.TransportType>
default value: TransportType.Amqp
The transport protocol type - default is ~uamqp.TransportType.Amqp. ~uamqp.TransportType.AmqpOverWebsocket is applied when http_proxy is set or the transport type is explicitly requested.
- encoding
- str
default value: UTF-8
The encoding to use if hostname and credentials are provided as a str. Default is 'UTF-8'.
Feedback
Submit and view feedback for