MCPcopy Index your code
hub / github.com/RustPython/RustPython / login

Method login

Lib/imaplib.py:700–711  ·  view source on GitHub ↗

Identify client using plaintext password. (typ, [data]) = .login(user, password) NB: 'password' will be quoted.

(self, user, password)

Source from the content-addressed store, hash-verified

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):

Callers

nothing calls this directly

Calls 3

_simple_commandMethod · 0.95
_quoteMethod · 0.95
errorMethod · 0.45

Tested by

no test coverage detected