How would I go about handling authentication in a RESTful way that will work with desktop/mobile apps? For eg. I know how to build authentication in my apps by using FormsAuthentication, which relies on cookies, which I assume only works with browsers.
Do I still use FormsAuthentication? My login method takes passwords and usernames, and I plan to use other 3rd party logins such as google, twitter and facebook.
So for the password and username, the client sends that to the server, how do I set it up so an android or windows phone 7 app can authenticate with it.
I'm also exposing some actions with the [Authorize] attribute.