class documentation

class twisted.words.protocols.jabber.xmlstream.ListenAuthenticator(Authenticator): (source)

Known subclasses: twisted.words.protocols.jabber.component.ListenComponentAuthenticator

View In Hierarchy

Authenticator for receiving entities.

Class Variable namespace Undocumented
Method associateWithStream Called by the XmlStreamFactory when a connection has been made.
Method streamStarted Called by the XmlStream when the stream has started.

Inherited from Authenticator:

Instance Variable xmlstream The XmlStream that needs authentication
Method __init__ Undocumented
Method connectionMade Called by the XmlStream when the underlying socket connection is in place.
namespace = (source)

Undocumented

(type: Optional[str])
def associateWithStream(self, xmlstream): (source)

Called by the XmlStreamFactory when a connection has been made.

Extend Authenticator.associateWithStream to set the XmlStream to be non-initiating.

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.

API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.