1 type derived from AuthenticationStateProvider
Microsoft.AspNetCore.Components.Endpoints (1)
DependencyInjection\ServerAuthenticationStateProvider.cs (1)
11public class ServerAuthenticationStateProvider : AuthenticationStateProvider, IHostEnvironmentAuthenticationStateProvider
16 references to AuthenticationStateProvider
Microsoft.AspNetCore.Components.Authorization (9)
_generated\0\CascadingAuthenticationState_razor.g.cs (1)
115AuthenticationStateProvider
AuthenticationStateProvider.cs (1)
36/// A handler for the <see cref="AuthenticationStateProvider.AuthenticationStateChanged"/> event.
CascadingAuthenticationStateServiceCollectionExtensions.cs (4)
24var authenticationStateProvider = services.GetRequiredService<AuthenticationStateProvider>(); 34private readonly AuthenticationStateProvider _authenticationStateProvider; 36public AuthenticationStateCascadingValueSource(AuthenticationStateProvider authenticationStateProvider)
IHostEnvironmentAuthenticationStateProvider.cs (3)
8/// If this is implemented by the host's <see cref="AuthenticationStateProvider"/>, it will receive authentication state from the HttpContext. 10/// it will receive the <see cref="AuthenticationState"/> returned by <see cref="AuthenticationStateProvider.GetAuthenticationStateAsync"/> 15/// Supplies updated authentication state data to the <see cref="AuthenticationStateProvider"/>.
Microsoft.AspNetCore.Components.Endpoints (4)
DependencyInjection\RazorComponentsServiceCollectionExtensions.cs (1)
71services.TryAddScoped<AuthenticationStateProvider, ServerAuthenticationStateProvider>();
DependencyInjection\ServerAuthenticationStateProvider.cs (1)
9/// An <see cref="AuthenticationStateProvider"/> intended for use in server-side Blazor.
Rendering\EndpointHtmlRenderer.cs (2)
94var authenticationStateProvider = httpContext.RequestServices.GetService<AuthenticationStateProvider>();
Microsoft.AspNetCore.Components.Server (3)
Circuits\CircuitHost.cs (1)
634var authenticationStateProvider = Services.GetService<AuthenticationStateProvider>() as IHostEnvironmentAuthenticationStateProvider;
Circuits\RevalidatingServerAuthenticationStateProvider.cs (1)
11/// A base class for <see cref="AuthenticationStateProvider"/> services that receive an
DependencyInjection\ComponentServiceCollectionExtensions.cs (1)
112services.TryAddScoped<AuthenticationStateProvider, ServerAuthenticationStateProvider>();