def auth_password(self, packet):
        """
        Password authentication.  Payload::
            string password

        Make a UsernamePassword credential and verify it with our portal.
        """
        password = getNS(packet[1:])[0]
        c = credentials.UsernamePassword(self.user, password)
        return self.portal.login(c, None, interfaces.IConchUser).addErrback(
                                                        self._ebPassword)

        Password authentication.  Payload::
            string password

        Make a UsernamePassword credential and verify it with our portal.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/conch/ssh/userauth.py