module documentation
(source)

Undocumented

Class ​Basic​Authenticator Authenticates an XmlStream against a Jabber server as a Client.
Class ​Bind​Initializer Initializer that implements Resource Binding for the initiating entity.
Class ​Check​Version​Initializer Initializer that checks if the minimum common stream version number is 1.0.
Class IQ Wrapper for a Info/Query packet.
Class ​IQAuth​Initializer Non-SASL Authentication initializer for the initiating entity.
Class ​Session​Initializer Initializer that implements session establishment for the initiating entity.
Class ​XMPPAuthenticator Initializes an XmlStream connecting to an XMPP server as a Client.
Function basic​Client​Factory Undocumented
Function ​XMPPClient​Factory Client factory for XMPP 1.0 (only).
Constant NS​_IQ​_AUTH​_FEATURE Undocumented
Constant NS​_XMPP​_BIND Undocumented
Constant NS​_XMPP​_SESSION Undocumented
Constant NS​_XMPP​_STREAMS Undocumented
Variable ​Digest​Auth​Qry Undocumented
Variable ​Plaintext​Auth​Qry 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.
configuration​For​TLS: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.
NS_IQ_AUTH_FEATURE: str = (source)

Undocumented

Value
'http://jabber.org/features/iq-auth'
NS_XMPP_BIND: str = (source)

Undocumented

Value
'urn:ietf:params:xml:ns:xmpp-bind'
NS_XMPP_SESSION: str = (source)

Undocumented

Value
'urn:ietf:params:xml:ns:xmpp-session'
NS_XMPP_STREAMS: str = (source)

Undocumented

Value
'urn:ietf:params:xml:ns:xmpp-streams'
DigestAuthQry = (source)

Undocumented

PlaintextAuthQry = (source)

Undocumented