5
我想在自定義FormsAuthentication方案中利用IIdentity.AuthenticationType
屬性來設置我自己的值。使用開箱即用的FormsAuthentication,與HttpContext
關聯的IIdentity
的AuthenticationType
被設置爲「Forms」。IIdentity.AuthenticationType上的任何框架依賴關係?
任何人都可以驗證核心Asp.Net或Asp.Net MVC框架中是否有任何邏輯功能取決於HttpContext.Current.User.Identity.AuthenticationType == "Forms"
?