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

This authenticator handles two types of incoming connections. Regular server-to-server connections are from the Originating Server to the Receiving Server, where this server is the Receiving Server. These connections start out by receiving a dialback key, verifying the key with the Authoritative Server, and then accept normal XMPP stanzas.

The other type of connections is from a Receiving Server to an Authoritative Server, where this server acts as the Authoritative Server. These connections are used to verify the validity of an outgoing connection from this server. In this case, this server receives a verification request, checks the key and then returns the result.

Instance Variable service The service that keeps the list of domains we accept connections for.
Method __init__ Undocumented
Method streamStarted Called by the XmlStream when the stream has started.
Method onVerify Undocumented
Method onResult Undocumented

Inherited from ListenAuthenticator:

Method associateWithStream Called by the XmlStreamFactory when a connection has been made.

Inherited from Authenticator (via ListenAuthenticator):

Instance Variable xmlstream The XmlStream that needs authentication (type: XmlStream)
Method connectionMade Called by the XmlStream when the underlying socket connection is in place.
service =
The service that keeps the list of domains we accept connections for.
def __init__(self, service): (source)
def streamStarted(self, rootElement): (source)

Called by the XmlStream when the stream has started.

This extends Authenticator.streamStarted to extract further information from the stream headers from rootElement.

def onVerify(self, verify): (source)
Undocumented
def onResult(self, result): (source)
Undocumented
API Documentation for wokkel, generated by pydoctor at 2018-12-06 14:45:46.