Re: Account framework
Re: Account framework
- Subject: Re: Account framework
- From: Jens Alfke <email@hidden>
- Date: Sat, 15 Jun 2013 12:36:19 -0700
On Jun 15, 2013, at 12:21 PM, Kévin Vavelin <email@hidden> 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 (email@hidden)
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:
This email sent to email@hidden