• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Account framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Account framework
      • From: Robert Vojta <email@hidden>
    • Re: Account framework
      • From: Kévin Vavelin <email@hidden>
References: 
 >Account framework (From: Kévin Vavelin <email@hidden>)

  • Prev by Date: Account framework
  • Next by Date: Re: If Statements In Objective C For IOS Development
  • Previous by thread: Account framework
  • Next by thread: Re: Account framework
  • Index(es):
    • Date
    • Thread