#NEWLINE# def login( client = None , **defaults ) : #NEWLINE# #INDENT# '\n    @param host:\n    @param port:\n    @param identityName:\n    @param password:\n    @param serviceName:\n    @param perspectiveName:\n\n    @returntype: Deferred RemoteReference of Perspective\n    ' #NEWLINE# d = defer . Deferred ( ) #NEWLINE# LoginDialog ( client , d , d ) #NEWLINE# return d