twisted.mail._cred.PLAINCredentials(credentials.UsernamePassword) class documentationtwisted.mail._cred
          View Source
          (View In Hierarchy)
        
      Implements interfaces: twisted.mail.interfaces.IChallengeResponse
| Method | __init__ | Undocumented | 
| Method | getChallenge | Return a client challenge. | 
| Method | setResponse | Extract a username and possibly a password from a response and assign them to username and password instance variables. | 
  
| Method | moreChallenges | No summary | 
Inherited from UsernamePassword:
| Instance Variable | username | Undocumented | 
| Instance Variable | password | Undocumented | 
| Method | checkPassword | Validate these credentials against the correct password. | 
Extract a username and possibly a password from a response and assign them to username and password instance variables.
| Parameters | response | A decoded response. (type: bytes) | 
| See Also | credentials.IUsernamePassword or credentials.IUsernameHashedPassword | |
Are there more challenges than just the first?  If so, callers should challenge clients with the result of getChallenge, and check their response with setResponse in a loop until this returns False
| Returns | Are there more challenges? (type: bool) | |