Extending ClaimsIdentity in MVC3

Posted by Steoates on Stack Overflow See other posts from Stack Overflow or by Steoates
Published on 2012-09-12T09:36:00Z Indexed on 2012/09/12 9:38 UTC
Read the original article Hit count: 209

I've got my claims set-up with MVC3 using azure and everything is going well.

What I need to do now is extend the Claims Identity that's in the current thread / http context and add my own information (DOB, Address.. that sort of stuff)

so my question is - where is the best place to do this? any examples would be great..

I presume that when the user is authenticated id then have to go to the DB and pull back the relevant record for the user then add it to the custom Claims Identity object?

cheers. ste.

© Stack Overflow or respective owner

Related posts about asp.net-mvc-3

Related posts about mvc