Part of twisted.words.protocols.jabber.sasl_mechanisms View Source View In Hierarchy
Implements interfaces: twisted.words.protocols.jabber.sasl_mechanisms.ISASLMechanism
The DIGEST-MD5 SASL authentication mechanism is defined in RFC 2831.
Method | __init__ | Undocumented |
Method | getInitialResponse | Get the initial client response, if defined for this mechanism. |
Method | getResponse | Get the response to a server challenge. |
Method | _parse | Parses the server challenge. |
Method | _unparse | Create message string from directives. |
Method | _gen_response | Generate response-value. |
Method | _gen_nonce | Undocumented |
Returns | initial client response string. (type: str .) |
Parameters | challenge | server challenge. (type: str .) |
Returns | client response. (type: str .) |
Splits the challenge into a dictionary of directives with values.
Returns | challenge directives and their values. (type: dict of str to str .) |
Parameters | directives | dictionary of directives (names to their values). For certain directives,
extra quotes are added, as needed. (type: dict of str to str ) |
Returns | message string. (type: str .) |
Creates a response to a challenge according to section 2.1.2.1 of RFC
2831 using the charset
, realm
and
nonce
directives from the challenge.