def getGenericAnswers(self, name, instruction, prompts):
        """Called when the server requests keyboard interactive authentication
        """
        responses = []
        for prompt, _echo in prompts:
            password = self.getPassword(prompt)
            responses.append(password)

        return defer.succeed(responses)
def getGenericAnswers ( self , name , instruction , prompts ) : responses = [ ] for prompt , _echo in prompts : password = self . getPassword ( prompt ) responses . append ( password ) return defer . succeed ( responses )
Called when the server requests keyboard interactive authentication