Any Framework dependencies on IIdentity.AuthenticationType?
I would like to leverage the IIdentity.AuthenticationType
property in a custom FormsAuthentication scenario in order to set my own values. Using the out-of-the-box FormsAuthentication, the AuthenticationType
of the IIdentity
associated with the HttpContext
is set to "Forms".
Could anyone verify if there is any logic in the c开发者_C百科ore Asp.Net or Asp.Net MVC Frameworks that have functionality dependent upon the HttpContext.Current.User.Identity.AuthenticationType == "Forms"
?
Using Reflector, I analyzed all "Used By" dependencies of IIdentity.AuthenticationType
and FormsIdentity.AuthenticationType
and none of the core framework has any logic that is conditional to the AuthenticationType
value.
精彩评论