class documentation
class DummySASLMechanism:
Constructor: DummySASLMechanism(initialResponse)
Implements interfaces: twisted.words.protocols.jabber.sasl_mechanisms.ISASLMechanism
Dummy SASL mechanism.
This just returns the initialResponse passed on creation, stores any challenges and replies with the value of response.
Method | __init__ |
Undocumented |
Method | get |
Get the initial client response, if defined for this mechanism. |
Method | get |
Get the response to a server challenge. |
Class Variable | name |
Common name for the SASL Mechanism. |
Class Variable | response |
Undocumented |
Instance Variable | challenge |
Last received challenge. |
Instance Variable | initial |
Initial response to be returned when requested via getInitialResponse or None . |
Get the initial client response, if defined for this mechanism.
Returns | |
str. | initial client response string. |
Get the response to a server challenge.
Parameters | |
challenge:str. | server challenge. |
Returns | |
str. | client response. |
initialResponse: unicode =
¶
Initial response to be returned when requested via getInitialResponse or None
.