If your web application need support multiple user validations, you must handle different token with different methods, but when you try to move your application to Windows Azure, Access Control Service (ACS) can solve this problem for you.
Downloa script: https://code.msdn.microsoft.com/Windows-Azure-Access-d01d282b
