Open
Description
When we initialise a pycrest object we pass in the long-lived refresh token which pycrest uses to get a short-lived access token via web request.
While this access token is still valid, it would be desirable to retain this token and avoid some situations where you make another call to obtain a short-lived access token before the access token had expired.
We know when the access token will expire, so if we triggered some kind of event when a new access token was acquired, we could store this along with the expiry time, then when initialising a future pycrest object we could save a web request if the old access token had not expired.
Metadata
Metadata
Assignees
Labels
No labels
Activity