class documentation

class twisted.words.protocols.jabber.sasl_mechanisms.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.

Class Variable name Common name for the SASL Mechanism.
Method __init__
Instance Variable authzid Undocumented
Instance Variable authcid Undocumented
Instance Variable password Undocumented
Method getInitialResponse Get the initial client response, if defined for this mechanism.
Method getResponse Get the response to a server challenge.
name = (source)

Common name for the SASL Mechanism.

(type: str)
def __init__(self, authzid, authcid, password): (source)
ParametersauthzidThe authorization identity. (type: unicode)
authcidThe authentication identity. (type: unicode)
passwordThe plain-text password. (type: unicode)
authzid = (source)

Undocumented

authcid = (source)

Undocumented

password = (source)

Undocumented

def getInitialResponse(self): (source)

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

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

Get the response to a server challenge.

Parameterschallengeserver challenge. (type: str.)
Returnsclient response. (type: str.)
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.