I have been working on a asp.net application which uses windows azure tables as data storage for users information.I have a class which does the insertion and creation of tables and handles other stuff. When I see that a user is already present I want to issue a authentication token using something like
FormsAuthentication.SetAuthCookie(user,true)
and I also want to add the user's claims that I got from the windows azure table storage so I can read them later using something like
ClaimsPrincipal claimsPrincipal = Page.User as ClaimsPrincipal;
Can someone please suggest me how to achieve this? I finished the other parts of this custom app but not very clear how to make this part work.
Thanks