1 implementation of IHostEnvironmentAuthenticationStateProvider
Microsoft.AspNetCore.Components.Endpoints (1)
DependencyInjection\ServerAuthenticationStateProvider.cs (1)
11public class ServerAuthenticationStateProvider : AuthenticationStateProvider, IHostEnvironmentAuthenticationStateProvider
6 references to IHostEnvironmentAuthenticationStateProvider
Microsoft.AspNetCore.Components.Authorization (1)
IHostEnvironmentAuthenticationStateProvider.cs (1)
9/// Or if this implemented service that is registered directly as an <see cref="IHostEnvironmentAuthenticationStateProvider"/>,
Microsoft.AspNetCore.Components.Endpoints (3)
Rendering\EndpointHtmlRenderer.cs (3)
95if (authenticationStateProvider is IHostEnvironmentAuthenticationStateProvider hostEnvironmentAuthenticationStateProvider) 103var authStateListeners = httpContext.RequestServices.GetServices<IHostEnvironmentAuthenticationStateProvider>(); 105foreach (var authStateListener in authStateListeners)
Microsoft.AspNetCore.Components.Server (2)
Circuits\CircuitHost.cs (2)
634var authenticationStateProvider = Services.GetService<AuthenticationStateProvider>() as IHostEnvironmentAuthenticationStateProvider;