Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

How to add multiple claims when user login

$
0
0

i read little about identity and i think multiple claims can be added and all claims stored in owin generated cookie and dropped in user pc.

suppose if i store my claim for last pwd change date during login so when user request for any other page then how could i read my custom claim value and compare user last pwd change date and the last pwd change date value stored in db . if both are not same then redirect user to login page.

1) show me how could i add multiple claims after validate user credential during login

2) for next subsequent request how could i read back my claim data ?

i am looking for good example to complete my jobs. thanks


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>