# ``twisted`.`words`.`protocols`.`jabber`.`xmlstream`.`ListenAuthenticator``

class documentation

`class ListenAuthenticator(Authenticator): (source)`

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

View In Hierarchy

Authenticator for receiving entities.

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

Inherited from `Authenticator`:

Method | `__init__` | Undocumented
Method | `connectionMade` | Called by the XmlStream when the underlying socket connection is in place.
Instance Variable | `xmlstream` | The XmlStream that needs authentication

def associateWithStream(self, xmlstream): (source)
overrides `twisted.words.protocols.jabber.xmlstream.Authenticator.associateWithStream`
overridden in `twisted.words.protocols.jabber.component.ListenComponentAuthenticator`

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)
overrides `twisted.words.protocols.jabber.xmlstream.Authenticator.streamStarted`
overridden in `twisted.words.protocols.jabber.component.ListenComponentAuthenticator`

Called by the XmlStream when the stream has started.

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

namespace: `Optional[str]` = (source)

Undocumented