Skip to content

Conversation

@menzow
Copy link

@menzow menzow commented Jul 6, 2017

Translations weren't working for me anymore. After some digging I found out that
datamarket.accesscontrol.windows.net has been deprecated in favour of api.cognitive.microsoft.com.

I updated Session.swift to use the new token exchange implementation.

More information: http://docs.microsofttranslator.com/oauth-token.html

Note: Because PolyglotSample and PolyglotTests haven't been converted to swift 3 I wasn't able to compile directly from those.

…ns are now requested through api.cognitive.microsoft.com. More information: http://docs.microsofttranslator.com/oauth-token.html

Handle api errors correctly

Use https for API communication. More info: https://techcrunch.com/2016/06/14/apple-will-require-https-connections-for-ios-apps-by-the-end-of-2016/
@menzow menzow force-pushed the feature/implement-new-token-exchange branch from 69e903d to 075bfca Compare July 6, 2017 07:57
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.

1 participant