Authenticator for an outgoing XMPP server-to-server connection.

This authenticator connects to otherHost (the Receiving Server) and then initiates dialback as thisHost (the Originating Server) using OriginatingDialbackInitializer.

Instance Variable thisHost The domain this server connects from (the Originating Server) .
Instance Variable otherHost The domain of the server this server connects to (the Receiving Server).
Instance Variable secret The shared secret that is used for verifying the validity of this new connection.
Method __init__ Undocumented
Method connectionMade Called by the XmlStream when the underlying socket connection is in place.
Method associateWithStream Called by the XmlStreamFactory when a connection has been made to the requested peer, and an XmlStream object has been instantiated.

Inherited from ConnectAuthenticator:

Method initializeStream Perform stream initialization procedures.
Method streamStarted Called by the XmlStream when the stream has started.

Inherited from Authenticator (via ConnectAuthenticator):

Instance Variable xmlstream The XmlStream that needs authentication (type: XmlStream)
thisHost =
The domain this server connects from (the Originating Server) .
otherHost =
The domain of the server this server connects to (the Receiving Server).
secret =
The shared secret that is used for verifying the validity of this new connection.
def __init__(self, thisHost, otherHost, secret): (source)
def connectionMade(self): (source)

Called by the XmlStream when the underlying socket connection is in place.

This allows the Authenticator to send an initial root element, if it's connecting, or wait for an inbound root from the peer if it's accepting the connection.

Subclasses can use self.xmlstream.send() to send any initial data to the peer.

def associateWithStream(self, xs): (source)

Called by the XmlStreamFactory when a connection has been made to the requested peer, and an XmlStream object has been instantiated.

The default implementation just saves a handle to the new XmlStream.

ParametersxmlstreamThe XmlStream that will be passing events to this Authenticator. (type: XmlStream)
API Documentation for wokkel, generated by pydoctor at 2018-12-06 14:45:46.