class documentation

class Plain: (source)

Implements interfaces: twisted.words.protocols.jabber.sasl_mechanisms.ISASLMechanism

View In Hierarchy

Implements the PLAIN SASL authentication mechanism.

The PLAIN SASL authentication mechanism is defined in RFC 2595.

Method __init__
Method getInitialResponse Get the initial client response, if defined for this mechanism.
Method getResponse Get the response to a server challenge.
Class Variable name Common name for the SASL Mechanism.
Instance Variable authcid Undocumented
Instance Variable authzid Undocumented
Instance Variable password Undocumented
def __init__(self, authzid, authcid, password): (source)
Parameters
authzid:unicodeThe authorization identity.
authcid:unicodeThe authentication identity.
password:unicodeThe plain-text password.
def getInitialResponse(self): (source)
Get the initial client response, if defined for this mechanism.
Returns
str.initial client response string.
def getResponse(self, challenge): (source)
Get the response to a server challenge.
Parameters
challenge:str.server challenge.
Returns
str.client response.
authcid = (source)

Undocumented

authzid = (source)

Undocumented

password = (source)

Undocumented