Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Signer class #127

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Refactor Signer class #127

wants to merge 6 commits into from

Conversation

robkinyon
Copy link

This is to allow oauth2 to be usable in asynchronous frameworks such as Twisted or Tornado. Currently, the Signer class is commingled into the Client class, forcing all usage of signed requests to be over httplib2, thus synchronous. By breaking the act of signing out from the act of making the request, oauth2 becomes usable in asynchronous frameworks.

@joestump
Copy link
Owner

@robkinyon Thanks a lot for this patch. I'd love to get it merged in, but @jaitaiwan and I have been merging in other PRs and it looks like this needs to be updated with master. It also needs test coverage before we can merge.

@jaitaiwan
Copy link
Contributor

Further to @joestump's comment it would be awesome if you could also squash your commits too before submitting the PR. Thanks!

@robkinyon
Copy link
Author

It's been a couple years (and a couple jobs) since I created this PR. I'm going to have to rebuild my fork and put my changeset on a proper branch before I can figure this out. Give me a few weeks.

@jaitaiwan
Copy link
Contributor

Thanks @robkinyon! Much appreciated. Will need to resubmit the PR against the develop branch so I'll leave this open as a reminder till we get the new PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants