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.
challenge =
Last received challenge. (type: unicode.)
initialResponse =
Initial response to be returned when requested via getInitialResponse or None. (type: unicode)
def __init__(self, initialResponse):
Undocumented
def getInitialResponse(self):

Get the initial client response, if defined for this mechanism.

Returnsinitial client response string. (type: str.)
def getResponse(self, challenge):

Get the response to a server challenge.

Parameterschallengeserver challenge. (type: str.)
Returnsclient response. (type: str.)
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.