def login(self, principal, loginProperties):
    """
    Parameters:
     - principal
     - loginProperties
    """
    self.send_login(principal, loginProperties)
    return self.recv_login()
def login ( self , principal , loginProperties ) : self . send_login ( principal , loginProperties ) return self . recv_login ( )
Parameters:
     - principal
     - loginProperties