(self, user, password)
return typ, dat
Identify client using plaintext password.

        (typ, [data]) = <instance>.login(user, password)

        NB: 'password' will be quoted.
Identify client using plaintext password.
Identify client using plaintext password .
def login(self, user, password):
        """Identify client using plaintext password.

        (typ, [data]) = <instance>.login(user, password)

        NB: 'password' will be quoted.
        """
        typ, dat = self._simple_command('LOGIN', user, self._quote(password))
        if typ != 'OK':
            raise self.error(dat[-1])
        self.state = 'AUTH'
        return typ, dat
def login ( self , user , password ) : typ , dat = self . _simple_command ( 'LOGIN' , user , self . _quote ( password ) ) if typ != 'OK' : raise self . error ( dat [ - 1 ] ) self . state = 'AUTH' return typ , dat