OAuthSwift / OAuthSwiftAlamofire

Utility method to sign Alamofire request
MIT License
104 stars 38 forks source link

No longer compatible with OAuthSwift (2.0.0) #21

Closed garyhooper closed 4 years ago

garyhooper commented 5 years ago

Using OAuthSwiftAlamofire (0.2.0) with OAuthSwift (2.0.0) (and Xcode 10.2.1/Swift 5), I encounter a compiler error in OAuthSwiftRequestAdaptor, line 80: parameters do not match oauth2Swift.renewAccessToken.

phimage commented 5 years ago

Hi Yes it not compatible. I make breaking change OAuthSwift

This project work only with old version see https://github.com/OAuthSwift/OAuthSwiftAlamofire/blob/master/Cartfile.resolved

I am waiting for official Alamofire 5.0.0 version (not beta) But If someone want PR an intermediate version...

phimage commented 5 years ago

@garyhooper I make in master a beta version with Alamofire 5 beta and OAuthSwift 2 adapter has been renamed to interceptor and must be passed in session creation or in request

garyhooper commented 5 years ago

Is it tagged, or just the master?

phimage commented 5 years ago

I make a 1.0.0beta tag

phimage commented 4 years ago

now master branch is linked with oauthswift2.1.0 for xcode11