1 implementation of IAuthenticationFeature
Microsoft.AspNetCore.Authentication.Core (1)
AuthenticationFeature.cs (1)
11public class AuthenticationFeature : IAuthenticationFeature
8 references to IAuthenticationFeature
Microsoft.AspNetCore.Authentication (4)
AuthenticationHandler.cs (2)
54protected PathString OriginalPath => Context.Features.Get<IAuthenticationFeature>()?.OriginalPath ?? Request.Path; 59protected PathString OriginalPathBase => Context.Features.Get<IAuthenticationFeature>()?.OriginalPathBase ?? Request.PathBase;
AuthenticationMiddleware.cs (1)
42context.Features.Set<IAuthenticationFeature>(new AuthenticationFeature
RequestPathBaseCookieBuilder.cs (1)
28var originalPathBase = context.Features.Get<IAuthenticationFeature>()?.OriginalPathBase ?? context.Request.PathBase;
Microsoft.AspNetCore.Tests (4)
WebApplicationTests.cs (4)
2452var authFeature = context.Features.Get<IAuthenticationFeature>(); 2492var authFeature = context.Features.Get<IAuthenticationFeature>();