Feature Requested
A Credentials object with file locking read / write option that emulates the old google oauth2client's Storage and the post-refresh caching in Client
Potential Implementation
- a custom Credential object that has
self.cache & modify before_request method (see here) to do some sort of caching every time a refresh occurs
Other Comments
- Happy to help add this feature to this repo but would like some guidance
before_request is called in both the AuthorizedSession and AuthorizedHttp object's request method. I think this could be a good place to add some post-refresh functionality
Feature Requested
A Credentials object with file locking read / write option that emulates the old google oauth2client's Storage and the post-refresh caching in Client
Potential Implementation
self.cache& modifybefore_requestmethod (see here) to do some sort of caching every time a refresh occursOther Comments
before_requestis called in both the AuthorizedSession and AuthorizedHttp object's request method. I think this could be a good place to add some post-refresh functionality