Allow logging in with an API token.

Review Request #13108 — Created June 15, 2023 and submitted — Latest diff uploaded

Information

RBTools
release-5.x

Reviewers

This updates the login methods on the server and transport classes to allow
logging in to the Review Board server with either a username and password
combination or an API token.

  • Ran unit tests.
  • Tested with the upcoming web based login flow change which uses an API
    token to login.
  • Tested logging in with a username and password.
  • Tested logging out.
  • Tested passing --username and --password options to commands.
  • Tested passing --api-token option to commands.

Diff Revision 3 (Latest)

orig
1
2
3

Commits

First Last Summary ID Author
Allow logging in with an API token.
7c31af309f8e08535fc9439d27b198692fa527d5 Michelle Aubin
rbtools/api/request.py
rbtools/api/transport/__init__.py
rbtools/api/transport/sync.py
rbtools/testing/api/transport.py
rbtools/utils/users.py
Loading...