module documentation
(source)

Undocumented

Class BasicAuthenticator Authenticates an XmlStream against a Jabber server as a Client.
Class BindInitializer Initializer that implements Resource Binding for the initiating entity.
Class CheckVersionInitializer Initializer that checks if the minimum common stream version number is 1.0.
Class IQ Wrapper for a Info/Query packet.
Class IQAuthInitializer Non-SASL Authentication initializer for the initiating entity.
Class SessionInitializer Initializer that implements session establishment for the initiating entity.
Class XMPPAuthenticator Initializes an XmlStream connecting to an XMPP server as a Client.
Function basicClientFactory Undocumented
Function XMPPClientFactory Client factory for XMPP 1.0 (only).
Variable DigestAuthQry Undocumented
Variable NS_IQ_AUTH_FEATURE Undocumented
Variable NS_XMPP_BIND Undocumented
Variable NS_XMPP_SESSION Undocumented
Variable NS_XMPP_STREAMS Undocumented
Variable PlaintextAuthQry Undocumented
def basicClientFactory(jid, secret): (source)

Undocumented

def XMPPClientFactory(jid, password, configurationForTLS=None): (source)

Client factory for XMPP 1.0 (only).

This returns a xmlstream.XmlStreamFactory with an XMPPAuthenticator object to perform the stream initialization steps (such as authentication).

Parameters
jid:jid.JIDJabber ID to connect with.
password:unicodepassword to authenticate with.
configurationForTLS:IOpenSSLClientConnectionCreator or NoneAn object which creates appropriately configured TLS connections. This is passed to startTLS on the transport and is preferably created using twisted.internet.ssl.optionsForClientTLS. If None, the default is to verify the server certificate against the trust roots as provided by the platform. See twisted.internet._sslverify.platformTrust.
Returns
xmlstream.XmlStreamFactoryXML stream factory.
See Also
The notes at XMPPAuthenticator describe how the jid and password parameters are to be used.
DigestAuthQry = (source)

Undocumented

NS_IQ_AUTH_FEATURE: str = (source)

Undocumented

NS_XMPP_BIND: str = (source)

Undocumented

NS_XMPP_SESSION: str = (source)

Undocumented

NS_XMPP_STREAMS: str = (source)

Undocumented

PlaintextAuthQry = (source)

Undocumented