Instead of attaching a token to query parameters or the request body, put it in the Authorization headers. Also the token format will change -- the ADAM client will expect the refresh token, store it, and send an access token for requests to the ADAM API. When the access token expires, the ADAM client should automatically request for the access token to be refreshed.
[x] Update the REST API client to send authorization header as well as refresh the access token when it expires
[x] Update the config manager to save the tokens
[x] Get notebooks to work with the changes in this PR
Instead of attaching a token to query parameters or the request body, put it in the Authorization headers. Also the token format will change -- the ADAM client will expect the refresh token, store it, and send an access token for requests to the ADAM API. When the access token expires, the ADAM client should automatically request for the access token to be refreshed.
Documentation has been generated in #123