Possible Duplicate:
Cross platform authentication using ASP.NET Web API
I want to create an asp.net web api with the new visual studio 11 beta. This web api will need to be accessed by different websites, desktop apps, and mobile apps. What is the best way to perform authentication/authorization for my web api. I need to make sure that all the apps calling the api are authenticated. Is there an easy way to do this with the new web api?