Add login method to RBClient
Review Request #3843 — Created Feb. 5, 2013 and submitted
Information | |
---|---|
smacleod | |
RBTools | |
master | |
Reviewers | |
rbtools | |
Add login method to RBClient Previously a new RBClient object would need to be created to reset credentials without the server returning Not Authenticated to a request. Now the RBClient has a 'login' method which allows the username and passsword to be reset. The new credentials will be sent in the next request made to the API. This includes requests made from resources which have already been created (i.e. the credentials are global to all resources created from the RBClient)
Made requests after calling method with both valid, invalid, and missing cookies; ensured the proper credentials were sent to the server.
-
-
rbtools/api/transport/sync.py (Diff revision 1) Should this pass in *args, **kwargs, for consistency?