json - ASP.NET Forms Authentication plus Basic Authentication -
so, if want make single page web application, can set website forms authentication, create accounts, authorize ajax request, etc forms authentication. user logs in, browser gets auth cookie, browser makes ajax/json request auth cookie, server determines , sends ajax/json response, , right world.
similarly, if want make mobile app, can set rest service. rest service uses basic authentication. user logs in, user gets authorization token response header, app sends restful/json request authorization token request header, server determines am, , sends restful/json response, , right world.
but, want same asp.net site/code/webconfig same thing identical requests? sounds it's virtually impossible. missing something?
Comments
Post a Comment