Identify client using plaintext password. (typ, [data]) = .login(user, password) NB: 'password' will be quoted.
(self, user, password)
| 698 | |
| 699 | |
| 700 | def login(self, user, password): |
| 701 | """Identify client using plaintext password. |
| 702 | |
| 703 | (typ, [data]) = <instance>.login(user, password) |
| 704 | |
| 705 | NB: 'password' will be quoted. |
| 706 | """ |
| 707 | typ, dat = self._simple_command('LOGIN', user, self._quote(password)) |
| 708 | if typ != 'OK': |
| 709 | raise self.error(dat[-1]) |
| 710 | self.state = 'AUTH' |
| 711 | return typ, dat |
| 712 | |
| 713 | |
| 714 | def login_cram_md5(self, user, password): |
nothing calls this directly
no test coverage detected