I want to create and pass a authentication / identity token on iphone/ios and send that token to a website. The website can take this token and use this token to authenticate a user/login. I dont know how to do this on ios, I was hoping anyone can help me on this. Any ideas ?
Asked
Active
Viewed 354 times
1 Answers
0
My approach in the past has been to use the ASIHTTPRequest library to send a request to your server with the login details.
This question addresses various security concerns with ASIHTTPRequest.
-
Is there any other way of doing it. Like using core ios libraries. – Dinesh Jun 29 '11 at 20:21
-
Yes, you can make requests using Apple's built in libraries (I think `NSURLRequest` is the one you want, though I'm not certain), but using ASIHTTPRequest saves you a lot of work, especially with asynchronous requests. – Katfish Jun 29 '11 at 20:34