You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously, this had been added typed as IIdentity which was incorrect. This adds it back as WindowsIdentity and exposes it via a feature so it can be easily customized if needed. By default, it will use the current user and check if it has a WindowsIdentity and return that.
Copy file name to clipboardExpand all lines: src/Microsoft.AspNetCore.SystemWebAdapters/Generated/Ref.Standard.cs
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -439,6 +439,7 @@ internal HttpRequest() { }
439
439
publicboolIsLocal{get{thrownewSystem.PlatformNotSupportedException("Only supported when running on ASP.NET Core or System.Web");}}
440
440
publicboolIsSecureConnection{get{thrownewSystem.PlatformNotSupportedException("Only supported when running on ASP.NET Core or System.Web");}}
441
441
publicstringthis[stringkey]{get{thrownewSystem.PlatformNotSupportedException("Only supported when running on ASP.NET Core or System.Web");}}
442
+
publicSystem.Security.Principal.WindowsIdentityLogonUserIdentity{get{thrownewSystem.PlatformNotSupportedException("Only supported when running on ASP.NET Core or System.Web");}}
442
443
publicSystem.Collections.Specialized.NameValueCollectionParams{get{thrownewSystem.PlatformNotSupportedException("Only supported when running on ASP.NET Core or System.Web");}}
443
444
publicstringPath{get{thrownewSystem.PlatformNotSupportedException("Only supported when running on ASP.NET Core or System.Web");}}
444
445
publicstringPathInfo{get{thrownewSystem.PlatformNotSupportedException("Only supported when running on ASP.NET Core or System.Web");}}
@@ -483,6 +484,7 @@ public abstract partial class HttpRequestBase
483
484
publicvirtualboolIsLocal{get{thrownewSystem.PlatformNotSupportedException("Only supported when running on ASP.NET Core or System.Web");}}
484
485
publicvirtualboolIsSecureConnection{get{thrownewSystem.PlatformNotSupportedException("Only supported when running on ASP.NET Core or System.Web");}}
485
486
publicvirtualstringthis[stringkey]{get{thrownewSystem.PlatformNotSupportedException("Only supported when running on ASP.NET Core or System.Web");}}
487
+
publicvirtualSystem.Security.Principal.WindowsIdentityLogonUserIdentity{get{thrownewSystem.PlatformNotSupportedException("Only supported when running on ASP.NET Core or System.Web");}}
486
488
publicvirtualSystem.Collections.Specialized.NameValueCollectionParams{get{thrownewSystem.PlatformNotSupportedException("Only supported when running on ASP.NET Core or System.Web");}}
487
489
publicvirtualstringPath{get{thrownewSystem.PlatformNotSupportedException("Only supported when running on ASP.NET Core or System.Web");}}
488
490
publicvirtualstringPathInfo{get{thrownewSystem.PlatformNotSupportedException("Only supported when running on ASP.NET Core or System.Web");}}
@@ -527,6 +529,7 @@ public partial class HttpRequestWrapper : System.Web.HttpRequestBase
527
529
publicoverrideboolIsLocal{get{thrownewSystem.PlatformNotSupportedException("Only supported when running on ASP.NET Core or System.Web");}}
528
530
publicoverrideboolIsSecureConnection{get{thrownewSystem.PlatformNotSupportedException("Only supported when running on ASP.NET Core or System.Web");}}
529
531
publicoverridestringthis[stringkey]{get{thrownewSystem.PlatformNotSupportedException("Only supported when running on ASP.NET Core or System.Web");}}
532
+
publicoverrideSystem.Security.Principal.WindowsIdentityLogonUserIdentity{get{thrownewSystem.PlatformNotSupportedException("Only supported when running on ASP.NET Core or System.Web");}}
530
533
publicoverrideSystem.Collections.Specialized.NameValueCollectionParams{get{thrownewSystem.PlatformNotSupportedException("Only supported when running on ASP.NET Core or System.Web");}}
531
534
publicoverridestringPath{get{thrownewSystem.PlatformNotSupportedException("Only supported when running on ASP.NET Core or System.Web");}}
532
535
publicoverridestringPathInfo{get{thrownewSystem.PlatformNotSupportedException("Only supported when running on ASP.NET Core or System.Web");}}
0 commit comments