#NEWLINE# def auth( self , user , password , **kw ) : #NEWLINE# #INDENT# '\n        This authentication mechanism implements HTTP Basic Authentication.\n                        \n        Required Arguments:\n        \n            user\n                The API username.\n                \n            password\n                The password of that user.\n                \n        ' #NEWLINE# self . request . set_auth_credentials ( password , password )