class IChallengeResponse(Interface): (source)
Known implementations: twisted.mail._cred.LOGINCredentials
, twisted.mail._cred.PLAINCredentials
Method | getChallenge |
Return a client challenge. |
Method | moreChallenges |
No summary |
Method | setResponse |
Extract a username and possibly a password from a response and assign them to username and password instance variables. |
getChallenge
, and check their response with setResponse
in a loop until this returns False
Returns | |
bool | Are there more challenges? |
Parameters | |
response:bytes | A decoded response. |
See Also | |
credentials.IUsernamePassword or credentials.IUsernameHashedPassword |