10 references to CreateAuthenticationStateTask
Microsoft.AspNetCore.Components.Server.Tests (10)
Circuits\RevalidatingServerAuthenticationStateProviderTest.cs (10)
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"));