开发者

Does SessionAuthenticationModule set IClaimsPrincipal on Thread.Principal or HttpContext.Current.User

Wouldn't it be a mistake to set it on the th开发者_运维问答read?


Both HttpContext.Current.User and Thread.CurrentPrincipal are set with an IClaimsPrincipal (the same instance in fact)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜