Base:
method
GetAuthenticationStateAsync
Microsoft.AspNetCore.Components.Authorization.AuthenticationStateProvider.GetAuthenticationStateAsync()
8 references to GetAuthenticationStateAsync
Microsoft.AspNetCore.Components.Server.Tests (8)
Circuits\RevalidatingServerAuthenticationStateProviderTest.cs (5)
23Assert.Same(hostAuthStateTask, provider.GetAuthenticationStateAsync()); 28Assert.Same(hostAuthStateTask2, provider.GetAuthenticationStateAsync()); 51Assert.Equal("test user", (await provider.GetAuthenticationStateAsync()).User.Identity.Name); 173Assert.Equal("different user", (await provider.GetAuthenticationStateAsync()).User.Identity.Name); 211var newAuthState = await provider.GetAuthenticationStateAsync();
Circuits\ServerAuthenticationStateProviderTest.cs (3)
16.GetAuthenticationStateAsync()); 31var actualAuthenticationState1 = await provider.GetAuthenticationStateAsync(); 40var actualAuthenticationState2 = await provider.GetAuthenticationStateAsync();