Reputation: 1086
I am currently working on an iPhone front end for a rails service that uses vanilla authlogic for authentication. I am completely stuck on how to login to authlogic from the iPhone using ASIHTTPRequest or possibly NSURLConnection. How do I get the current user once I am already logged in? I have found many similar questions here on Stack Overflow but none of them provided good, in depth answers. Any help is greatly appreciated!
Upvotes: 3
Views: 338
Reputation: 1086
I have figured it out! Authlogic supports http basic authentication, there is an explanation of this here Rails: Basic Authentication with Authlogic This is what ASIHTTPRequest uses.
Hope this helps anyone else who is as lost as I was.
Upvotes: 2