Re: Account framework
Re: Account framework
- Subject: Re: Account framework
- From: Kévin Vavelin <email@hidden>
- Date: Sat, 15 Jun 2013 21:37:52 +0200
Right, I saw many OAuth project on GitHub but if we can do it with Account Framework it could be great. Maybe I’ll just file a radar for that ;)
Thank you for your quick answer
Vavelin Kévin
Twitter | Blog | LinkedIn
Entrepreneur
Developer OS X / iOS
On 15 Jun 2013, at 21:36, Jens Alfke <email@hidden> wrote:
>
> 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