Skip to content

Credentials with optional file locking caching feature whenever token refreshes #56

Open
@junpeng-jp

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions