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                                      
laur...@nemesys-soft.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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to