Yep, Jens's right. We do use this framework heavily for Facebook and it's good, but not perfect and there're many issues you have to fight with and we did end up with WebKit support as well (classic Facebook web auth dialog). Sometimes you have to completely reset privacy database via tcccutil, sometimes it doesn't work at all and you have to update 10.8.4 with 10.8.4 combo again, etc. otherwise even ShareKit doesn't work, native sharing widget in Notification Center doesn't work too and many other issues.
Sent from my iPhone > On 15. 6. 2013, at 21:36, Jens Alfke <j...@mooseyard.com> wrote: > > >> On Jun 15, 2013, at 12:21 PM, Kévin Vavelin <vavelinke...@icloud.com> wrote: >> >> I want to connect to some API using OAuth2 authentification in my >> application and I see that Account Framework got a method for this. So I >> want to use the Account framework for connecting to these API and store the >> account into the database but I don’t know how I can do it and see no sample >> code on internet to learn how to do it. > > It looks like the Accounts framework only supports Facebook, Twitter and Sina > Weibo. It’s possible to create an ACAccountCredential given an OAuth token, > but there’s nothing I can see for doing the hard part of OAuth, which is > getting the token in the first place. So I don’t think that framework is > going to help you. > > I think there are some open-source libraries for doing OAuth on Mac or iOS; > try searching GitHub. > > —Jens > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/cocoa-dev/robert%40tapmates.com > > This email sent to rob...@tapmates.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com