6 implementations of User
Microsoft.AspNetCore.Authentication (1)
AuthenticationFeatures.cs (1)
32public ClaimsPrincipal? User
Microsoft.AspNetCore.Authorization.Policy (1)
AuthenticationFeatures.cs (1)
33public ClaimsPrincipal? User
Microsoft.AspNetCore.Http (1)
Features\Authentication\HttpAuthenticationFeature.cs (1)
14public ClaimsPrincipal? User { get; set; }
Microsoft.AspNetCore.Owin (1)
OwinFeatureCollection.cs (1)
283ClaimsPrincipal IHttpAuthenticationFeature.User
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
555ClaimsPrincipal? IHttpAuthenticationFeature.User
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.FeatureCollection.cs (1)
278ClaimsPrincipal? IHttpAuthenticationFeature.User
4 writes to User
Microsoft.AspNetCore.Http (2)
DefaultHttpContext.cs (2)
162HttpAuthenticationFeature.User = user; 166set { HttpAuthenticationFeature.User = value; }
Microsoft.AspNetCore.Owin (2)
OwinEnvironment.cs (2)
61{ OwinConstants.RequestUser, new FeatureMap<IHttpAuthenticationFeature>(feature => feature.User, () => null, (feature, value) => feature.User = (ClaimsPrincipal)value) }, 93()=> null, (feature, value) => feature.User = Utilities.MakeClaimsPrincipal((IPrincipal)value),
4 references to User
Microsoft.AspNetCore.Authentication.Abstractions (1)
IAuthenticateResultFeature.cs (1)
15/// Set to null if the <see cref="IHttpAuthenticationFeature.User"/> property is set after the authorization middleware.
Microsoft.AspNetCore.Http (1)
DefaultHttpContext.cs (1)
158var user = HttpAuthenticationFeature.User;
Microsoft.AspNetCore.Owin (2)
OwinEnvironment.cs (2)
61{ OwinConstants.RequestUser, new FeatureMap<IHttpAuthenticationFeature>(feature => feature.User, () => null, (feature, value) => feature.User = (ClaimsPrincipal)value) }, 92{ OwinConstants.Security.User, new FeatureMap<IHttpAuthenticationFeature>(feature => feature.User,