twisted.words.test.test_jabbersasl.DummySASLMechanism(object)
class documentationtwisted.words.test.test_jabbersasl
(View In Hierarchy)
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
.
Instance Variable | challenge | Last received challenge. (type: unicode .) |
Instance Variable | initialResponse | Initial response to be returned when requested via
getInitialResponse or None . (type: unicode ) |
Method | __init__ | Undocumented |
Method | getInitialResponse | Get the initial client response, if defined for this mechanism. |
Method | getResponse | Get the response to a server challenge. |
Get the initial client response, if defined for this mechanism.
Returns | initial client response string. (type: str .) |