Implemented interface member:
method
SetAuthenticationState
Microsoft.AspNetCore.Components.Authorization.IHostEnvironmentAuthenticationStateProvider.SetAuthenticationState(System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Authorization.AuthenticationState>)
15 references to SetAuthenticationState
Microsoft.AspNetCore.Components.Server (1)
Circuits\RevalidatingServerAuthenticationStateProvider.cs (1)
106SetAuthenticationState(Task.FromResult(anonymousState));
Microsoft.AspNetCore.Components.Server.Tests (14)
Circuits\RevalidatingServerAuthenticationStateProviderTest.cs (12)
22provider.SetAuthenticationState(hostAuthStateTask); 27provider.SetAuthenticationState(hostAuthStateTask2); 37provider.SetAuthenticationState(CreateAuthenticationStateTask("test user")); 60provider.SetAuthenticationState(CreateAuthenticationStateTask("test user")); 84provider.SetAuthenticationState(CreateAuthenticationStateTask("test user")); 108provider.SetAuthenticationState(CreateAuthenticationStateTask("test user")); 116provider.SetAuthenticationState(CreateAuthenticationStateTask(null)); 121provider.SetAuthenticationState(CreateAuthenticationStateTask("different user")); 133provider.SetAuthenticationState(CreateAuthenticationStateTask("test user")); 153provider.SetAuthenticationState(CreateAuthenticationStateTask("test user")); 167provider.SetAuthenticationState(CreateAuthenticationStateTask("different user")); 191provider.SetAuthenticationState(CreateAuthenticationStateTask("test user"));
Circuits\ServerAuthenticationStateProviderTest.cs (2)
28provider.SetAuthenticationState(Task.FromResult(expectedAuthenticationState1)); 37provider.SetAuthenticationState(Task.FromResult(expectedAuthenticationState2));