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