'Return a L{Deferred} that will be called back with a password.
prompt is a string to display for the password, or None for a generic
\'user@hostname\'s password: \'.
@type prompt: L{bytes}/L{None}
@rtype: L{defer.Deferred}'

def getPassword(self, prompt=None):

    return defer.fail(NotImplementedError())
