Saturday 15 September 2012

asp.net - Adding Extra Data to Auth Cookie after login - MVC 5 -


We have an additional mandatory step after entering the user's MVC5 site. The reason for this is that some users can access multiple offices. I got some help to implement such a question,

Once the user has completed that step, Need to hide the selection of your office in

  1. After login completes, can I store additional data in the authentication cookie?
  2. Is that extra data the right way to reach the custom identification category?

You can use the claim to provide additional data such as a The claim is the class, which you can use to add additional claims and to look into claims.

I'm not

using function methods and controllers for you filter Can also do It is good to explain it in detail, but in the pursuit of the link, you find some free chapters from an e-book from AFS (100 pages). The specific chapter will be chapter 15, but you will get a good insight into the whole document through which to read the entire identity management.


No comments:

Post a Comment