Allow logging in with an API token.
Review Request #13108 — Created June 15, 2023 and submitted — Latest diff uploaded
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.