3 implementations of IAuthenticateResultFeature
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.Authorization.Test (1)
AuthorizationMiddlewareTests.cs (1)
908class TestAuthResultFeature : IAuthenticateResultFeature
32 references to IAuthenticateResultFeature
Aspire.Dashboard (1)
Authentication\AspirePolicyEvaluator.cs (1)
82return context.Features.Get<IAuthenticateResultFeature>()?.AuthenticateResult ?? DefaultAuthenticateResult(context);
Microsoft.AspNetCore.Authentication (1)
AuthenticationMiddleware.cs (1)
71context.Features.Set<IAuthenticateResultFeature>(authFeatures);
Microsoft.AspNetCore.Authentication.Test (8)
AuthenticationMiddlewareTests.cs (8)
76var authenticateResultFeature = context.Features.Get<IAuthenticateResultFeature>(); 99var authenticateResultFeature = context.Features.Get<IAuthenticateResultFeature>(); 119var authenticateResultFeature = context.Features.Get<IAuthenticateResultFeature>(); 145var authenticateResultFeature = context.Features.Get<IAuthenticateResultFeature>();
Microsoft.AspNetCore.Authorization.Policy (4)
AuthorizationMiddleware.cs (3)
159if (context.Features.Get<IAuthenticateResultFeature>() is IAuthenticateResultFeature authenticateResultFeature) 167context.Features.Set<IAuthenticateResultFeature>(authFeatures);
PolicyEvaluator.cs (1)
71return context.Features.Get<IAuthenticateResultFeature>()?.AuthenticateResult ?? DefaultAuthenticateResult(context);
Microsoft.AspNetCore.Authorization.Test (16)
AuthorizationMiddlewareTests.cs (16)
785var authenticateResultFeature = context.Features.Get<IAuthenticateResultFeature>(); 809var authenticateResultFeature = context.Features.Get<IAuthenticateResultFeature>(); 848var authenticateResultFeature = context.Features.Get<IAuthenticateResultFeature>(); 872var authenticateResultFeature = context.Features.Get<IAuthenticateResultFeature>(); 898var authenticateResultFeature = context.Features.Get<IAuthenticateResultFeature>(); 934context.Features.Set<IAuthenticateResultFeature>(testAuthenticateResultFeature); 940var authenticateResultFeature = context.Features.Get<IAuthenticateResultFeature>(); 960context.Features.Set<IAuthenticateResultFeature>(testAuthenticateResultFeature); 966var authenticateResultFeature = context.Features.Get<IAuthenticateResultFeature>();
Microsoft.AspNetCore.Http.Connections (2)
Internal\HttpConnectionDispatcher.cs (2)
664var authenticateResultFeature = context.Features.Get<IAuthenticateResultFeature>();