-
Notifications
You must be signed in to change notification settings - Fork 911
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
base: master
Are you sure you want to change the base?
Conversation
… reused in Twisted and/or Tornado.
…uest() now accepts a parameter list
@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 |
Further to @joestump's comment it would be awesome if you could also squash your commits too before submitting the PR. Thanks! |
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. |
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 |
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.