def setCredentials(self, username, password):
        self.addHeader('Credentials', dict(userid=username.decode('utf-8'),
            password=password.decode('utf-8')), True)
Sets authentication credentials for accessing the remote gateway.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/PyAMF-0.6.1/pyamf/remoting/client/__init__.py/RemotingService.setCredentials