2 implementations of IHostEnvironmentAuthenticationStateProvider
Microsoft.AspNetCore.Components.Endpoints (1)
DependencyInjection\ServerAuthenticationStateProvider.cs (1)
11public class ServerAuthenticationStateProvider : AuthenticationStateProvider, IHostEnvironmentAuthenticationStateProvider
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
AuthenticationStateSerializer.cs (1)
10internal sealed class AuthenticationStateSerializer : IHostEnvironmentAuthenticationStateProvider, IDisposable
7 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)
83if (authenticationStateProvider is IHostEnvironmentAuthenticationStateProvider hostEnvironmentAuthenticationStateProvider) 91var authStateListeners = httpContext.RequestServices.GetServices<IHostEnvironmentAuthenticationStateProvider>(); 93foreach (var authStateListener in authStateListeners)
Microsoft.AspNetCore.Components.Server (2)
Circuits\CircuitHost.cs (2)
600var authenticationStateProvider = Services.GetService<AuthenticationStateProvider>() as IHostEnvironmentAuthenticationStateProvider;
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
WebAssemblyRazorComponentsBuilderExtensions.cs (1)
41builder.Services.TryAddEnumerable(ServiceDescriptor.Scoped<IHostEnvironmentAuthenticationStateProvider, AuthenticationStateSerializer>());