• 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: NSURLConnection and authenticating against OpenID
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSURLConnection and authenticating against OpenID


  • Subject: Re: NSURLConnection and authenticating against OpenID
  • From: Laurent Daudelin <email@hidden>
  • Date: Tue, 13 Jul 2010 18:25:41 -0700

On Jul 13, 2010, at 17:36, Jerry Krinock wrote:

>
> On 2010 Jul 13, at 09:40, Laurent Daudelin wrote:
>
>> I guess everybody was sleeping yesterday when I sent this so, I'll resend :-)
>
> Well, although that was true in my case, it's also likely that no one knows.
>
>> I've been trying to create a NSURLCredential with the user ID and password but that doesn't seem to work.
>
> My guess is that NSURLCredential would not be useful to you, because OpenID, as you said, does not use cookies.  At the low level, you're just going to be dealing with usernames, passwords, tokens, etc.  But regardless of the fancy names, they're all NSStrings or, rarely, NSData as far as you're concerned.
>
>> I'm not sure how the OpenID works.
>
> That's why they publish documentation...
>
> http://openid.net/developers/
>
> When you need to write Cocoa code to implement a standard such as OpenID, the first step is to search the internet for, in this case, "OpenID Cocoa" to see if there is any open-source code which might help.  If you don't find anything (or sometimes even if you do), or if OpenID is anything like OAuth, from experience I would advise that you've got a long difficult slog ahead of you.  But it can be done.  You'll just repeatedly use NSURLConnection to send and receive requests as indicated in the OpenID documentation.

Thanks, Jerry! That's very useful and gives me ate least a starting point

-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin 				http://www.nemesys-soft.com/
Logiciels Nemesys Software              			email@hidden

_______________________________________________

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: NSURLConnection and authenticating against OpenID
      • From: Jerry Krinock <email@hidden>
References: 
 >NSURLConnection and authenticating against OpenID (From: Laurent Daudelin <email@hidden>)
 >Re: NSURLConnection and authenticating against OpenID (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: NSURLConnection and authenticating against OpenID
  • Next by Date: [Moderator] Re: NSURLConnection and authenticating against OpenID
  • Previous by thread: Re: NSURLConnection and authenticating against OpenID
  • Next by thread: Re: NSURLConnection and authenticating against OpenID
  • Index(es):
    • Date
    • Thread