I'm working on the login portion of our application at the moment, and I am wondering where the best place to put custom properties is?
We have a User object that stores all the details, but I don't want to pass all of that back to the client. I would like to pass back such properties as UserId, Username, Full Name, Email, etc.
Should these properties be put on the identity, or the principal? Should I just have my own custom IPrincipal class with a default UserIdentity?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum