开发者

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

开发者 https://www.devze.com 2023-02-22 14:41 出处:网络
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)

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

精彩评论

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