github OAuthSwift/OAuthSwift 0.5.0

latest releases: 2.2.0, 2.1.2, 2.1.1...
8 years ago

Fix

  • JSON parsing to get access token when there is one parameter with only number
  • Presentation of OAuthWebViewController by choosing the good parent view controller, not only the root one

Change

  • Add parameters to OAuth1 callback #81(@quangbuule #152)
  • Add WatchOS support #135 (as proof of concept, you must do find a way to handle authorisation URL, maybe open on iOS)
  • Allow to change dispatch queue used by HTTP request (default: main queue)
  • Factorise code between OAuth1Swift & OAuthSwift2 :

After updating you must edit your code:

  • For OAuth1 you must change the callback credential, response in by credential, response, parameters in or credential, response, _ in
  • ⚠️ response into callback could now be nil
  • OAuth1Swift.handleOpenURL(url:) & OAuth2Swift.handleOpenURL(url:) are replaced by OAuthSwift.handleOpenURL(url:)

If you don't want to edit your code, do not update OAuthSwift.
You can with carthage and cocoapod for instance use "~> 0.4.8"

Don't miss a new OAuthSwift release

NewReleases is sending notifications on new releases.