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 2

This is not the most recent revision of the diff. The latest diff is revision 3. See what's changed.

orig
1
2
3

Commits

First Last Summary ID Author
Allow logging in with an API token.
0887f58e4a019522ee3dea22bd6aa6f0f9f2a7dc Michelle Aubin
rbtools/api/request.py
rbtools/api/transport/__init__.py
rbtools/api/transport/sync.py
Loading...