class documentation
class DummySASLInitiatingInitializer(sasl.SASLInitiatingInitializer): (source)
Dummy SASL Initializer for initiating entities.
This hardwires the SASL mechanism to DummySASLMechanism
, that is instantiated with the value of initialResponse.
Method | set |
Select and setup authentication mechanism. |
Instance Variable | initial |
The initial response to be returned by the dummy SASL mechanism or None . |
Instance Variable | mechanism |
Undocumented |
Inherited from SASLInitiatingInitializer
:
Method | on |
Parse challenge and send response from the mechanism. |
Method | on |
Clean up observers, parse the failure and errback the deferred. |
Method | on |
Clean up observers, reset the XML stream and send a new header. |
Method | send |
Initiate authentication protocol exchange. |
Method | send |
Send response to a challenge. |
Method | start |
Start SASL authentication exchange. |
Class Variable | feature |
Undocumented |
Instance Variable | _deferred |
Undocumented |
Inherited from BaseFeatureInitiatingInitializer
(via SASLInitiatingInitializer
):
Method | __init__ |
Undocumented |
Method | initialize |
Initiate the initialization. |
Instance Variable | required |
whether the stream feature is required to be advertized by the receiving entity. |
Instance Variable | xmlstream |
The associated XML stream |
Select and setup authentication mechanism.
Uses the authenticator's jid and password attribute for the authentication credentials. If no supported SASL mechanisms are advertized by the receiving party, a failing deferred is returned with a SASLNoAcceptableMechanism
exception.