1 write to _authenticationStateProvider
Microsoft.AspNetCore.Components.Authorization.Tests (1)
AuthorizeRouteViewTest.cs (1)
24_authenticationStateProvider = new TestAuthenticationStateProvider();
6 references to _authenticationStateProvider
Microsoft.AspNetCore.Components.Authorization.Tests (6)
AuthorizeRouteViewTest.cs (6)
25_authenticationStateProvider.CurrentAuthStateTask = Task.FromResult( 31serviceCollection.AddSingleton<AuthenticationStateProvider>(_authenticationStateProvider); 179_authenticationStateProvider.CurrentAuthStateTask = Task.FromResult(new AuthenticationState( 207_authenticationStateProvider.CurrentAuthStateTask = authStateTcs.Task; 251_authenticationStateProvider.CurrentAuthStateTask = authStateTcs.Task; 305_authenticationStateProvider.CurrentAuthStateTask,