module documentation
(source)

XMPP-specific SASL profile.
Class ​SASLAuth​Error SASL Authentication failed.
Class ​SASLError SASL base exception.
Class ​SASLIncorrect​Encoding​Error SASL base64 encoding was incorrect.
Class ​SASLInitiating​Initializer Stream initializer that performs SASL authentication.
Class ​SASLNo​Acceptable​Mechanism The server did not present an acceptable SASL mechanism.
Function from​Base64 Decode base64 encoded string.
Function get​_mechanisms Parse the SASL feature to extract the available mechanism names.
Constant NS​_XMPP​_SASL Undocumented
Variable base64​Pattern Undocumented
def fromBase64(s): (source)

Decode base64 encoded string.

This helper performs regular decoding of a base64 encoded string, but also rejects any characters that are not in the base64 alphabet and padding occurring elsewhere from the last or last two characters, as specified in section 14.9 of RFC 3920. This safeguards against various attack vectors among which the creation of a covert channel that "leaks" information.

def get_mechanisms(xs): (source)
Parse the SASL feature to extract the available mechanism names.
NS_XMPP_SASL: str = (source)

Undocumented

Value
'urn:ietf:params:xml:ns:xmpp-sasl'
base64Pattern = (source)

Undocumented