6 implementations of IHttpAuthenticationFeature
Microsoft.AspNetCore.Authentication (1)
AuthenticationFeatures.cs (1)
12internal sealed class AuthenticationFeatures : IAuthenticateResultFeature, IHttpAuthenticationFeature
Microsoft.AspNetCore.Authorization.Policy (1)
AuthenticationFeatures.cs (1)
13internal sealed class AuthenticationFeatures : IAuthenticateResultFeature, IHttpAuthenticationFeature
Microsoft.AspNetCore.Http (1)
Features\Authentication\HttpAuthenticationFeature.cs (1)
11public class HttpAuthenticationFeature : IHttpAuthenticationFeature
Microsoft.AspNetCore.Owin (1)
OwinFeatureCollection.cs (1)
32IHttpAuthenticationFeature,
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
29IHttpAuthenticationFeature,
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.FeatureCollection.cs (1)
30IHttpAuthenticationFeature,
30 references to IHttpAuthenticationFeature
Microsoft.AspNetCore.Authentication (1)
AuthenticationMiddleware.cs (1)
70context.Features.Set<IHttpAuthenticationFeature>(authFeatures);
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.Authorization.Policy (1)
AuthorizationMiddleware.cs (1)
166context.Features.Set<IHttpAuthenticationFeature>(authFeatures);
Microsoft.AspNetCore.Http (4)
DefaultHttpContext.cs (3)
30private static readonly Func<IFeatureCollection, IHttpAuthenticationFeature> _newHttpAuthenticationFeature = f => new HttpAuthenticationFeature(); 123private IHttpAuthenticationFeature HttpAuthenticationFeature => 254public IHttpAuthenticationFeature? Authentication;
Features\Authentication\HttpAuthenticationFeature.cs (1)
9/// Default implementation for <see cref="IHttpAuthenticationFeature"/>.
Microsoft.AspNetCore.Owin (4)
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,
OwinFeatureCollection.cs (2)
283ClaimsPrincipal IHttpAuthenticationFeature.User 406yield return new KeyValuePair<Type, object>(typeof(IHttpAuthenticationFeature), this);
Microsoft.AspNetCore.Server.HttpSys (2)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
555ClaimsPrincipal? IHttpAuthenticationFeature.User
StandardFeatureCollection.cs (1)
23{ typeof(IHttpAuthenticationFeature), _identityFunc },
Microsoft.AspNetCore.Server.IIS (2)
Core\IISHttpContext.FeatureCollection.cs (1)
278ClaimsPrincipal? IHttpAuthenticationFeature.User
Core\IISHttpContext.Features.cs (1)
16private static readonly Type IHttpAuthenticationFeatureType = typeof(global::Microsoft.AspNetCore.Http.Features.Authentication.IHttpAuthenticationFeature);
Microsoft.AspNetCore.Server.IISIntegration.Tests (4)
IISMiddlewareTests.cs (4)
40var auth = context.Features.Get<IHttpAuthenticationFeature>(); 78var auth = context.Features.Get<IHttpAuthenticationFeature>();
Microsoft.AspNetCore.Server.Kestrel.Core (9)
Internal\Http\HttpProtocol.Generated.cs (9)
66internal protected IHttpAuthenticationFeature? _currentIHttpAuthenticationFeature; 240else if (key == typeof(IHttpAuthenticationFeature)) 392else if (key == typeof(IHttpAuthenticationFeature)) 394_currentIHttpAuthenticationFeature = (IHttpAuthenticationFeature?)value; 546else if (typeof(TFeature) == typeof(IHttpAuthenticationFeature)) 548feature = Unsafe.As<IHttpAuthenticationFeature?, TFeature?>(ref _currentIHttpAuthenticationFeature); 706else if (typeof(TFeature) == typeof(IHttpAuthenticationFeature)) 708_currentIHttpAuthenticationFeature = Unsafe.As<TFeature?, IHttpAuthenticationFeature?>(ref feature); 856yield return new KeyValuePair<Type, object>(typeof(IHttpAuthenticationFeature), _currentIHttpAuthenticationFeature);
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (2)
HttpProtocolFeatureCollection.cs (2)
96public IHttpAuthenticationFeature Get_IHttpAuthenticationFeature() 98return _collection.Get<IHttpAuthenticationFeature>();