def auth_interactive(self, username, handler, event, submethods='<STR_LIT>'):
self.transport.lock.acquire()<EOL>try:<EOL><INDENT>self.auth_event = event<EOL>self.auth_method = '<STR_LIT>'<EOL>self.username = username<EOL>self.interactive_handler = handler<EOL>self.submethods = submethods<EOL>self._request_auth()<EOL><DEDENT>finally:<EOL><INDENT>self.transport.lock.release()<EOL><DEDENT>
response_list = handler(title, instructions, prompt_list)