Display useful error messages when passing invalid/expired API tokens to commands.

Review Request #13128 — Created June 27, 2023 and submitted

Information

RBTools
release-5.x

Reviewers

This displays useful error messages when passing invalid or expired API tokens
to a command. Previously, if you passed an API token that was expired or
invalidated it would silently fail and then prompt the user to enter a
username and password.

  • Tested rbt api-get, and rbt login commands with
    the --api-token option. Used valid, invalid and expired tokens.
  • Tested the above commands with valid and invalid --username and
    --password options.
Summary ID
Display useful error messages when passing invalid/expired API tokens to commands.
7dab6b182603d80f9875108116c3db5d49a853ad
chipx86
  1. Ship It!
  2. 
      
maubin
Review request changed
Status:
Completed
Change Summary:
Pushed to release-5.x (973115a)