The original motivation for this article is about following issue:
- how does the claim identity information persist after login in ASP.NET
- why does updating of claim identity in owin context not persist in further request
WIF(Windows Identity Foundation) provides a Claims-Based Identity Model. And in
ASP.NET, we can already build a Claims-Aware ASP.NET Web Application. Especially, when using with different kind of authentication middleware,
WIF provides the same abstract layer to access the identity information across the whole asp.net pipeline context.
In this article we will talk about some detail about asp.net authentication middleware based on the
CookieAuthenticationMiddleware. At the end, let’s discuss more about persist claim in cookie across request.