Skip to content

OAuth signature calculator with userAuth#key check #504

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

Merged
merged 3 commits into from
Mar 19, 2014
Merged

OAuth signature calculator with userAuth#key check #504

merged 3 commits into from
Mar 19, 2014

Conversation

haed
Copy link
Contributor

@haed haed commented Mar 19, 2014

  • fixed 2 possible programming accidents:
    • added return in a switch/case logic (ProxyUtils)
    • a assignment instead of boolean comparing in RFC2616DateParser
  • added a check if userAuth.key is null in OAuthSignatureCalculator, now this class can also be used to request access token in the OAuth1 dance (we can use this logic in the Evernote OAuth process now)

@@ -83,7 +83,7 @@ private Tokens tokenize() {
}

// finish lastToken
if (inToken = true)
if (inToken == true)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OMG!

slandelle pushed a commit that referenced this pull request Mar 19, 2014
OAuth signature calculator with userAuth#key check
@slandelle slandelle merged commit c0ecce0 into AsyncHttpClient:master Mar 19, 2014
@slandelle
Copy link
Contributor

Thanks a lot!
I can't believe I made such mistakes.

@haed
Copy link
Contributor Author

haed commented Mar 20, 2014

Thanks for merging.

cs-workco pushed a commit to cs-workco/async-http-client that referenced this pull request Apr 13, 2023
* make `Scheme` a type

* introduce new Endpoint type

* use endpoint as storage in `HTTPClient.Request`

* fix merge conflicts

* rename Endpoint to DeconstructedURL

* swift-format

* make `DeconstructedURL` properties `var`'s

* move scheme into global namespace

- rename `useTLS` to `usesTLS` where posible without breaking public API
- only import Foundation.URL

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

Successfully merging this pull request may close these issues.

2 participants