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)
106
SetAuthenticationState
(Task.FromResult(anonymousState));
Microsoft.AspNetCore.Components.Server.Tests (14)
Circuits\RevalidatingServerAuthenticationStateProviderTest.cs (12)
22
provider.
SetAuthenticationState
(hostAuthStateTask);
27
provider.
SetAuthenticationState
(hostAuthStateTask2);
37
provider.
SetAuthenticationState
(CreateAuthenticationStateTask("test user"));
60
provider.
SetAuthenticationState
(CreateAuthenticationStateTask("test user"));
84
provider.
SetAuthenticationState
(CreateAuthenticationStateTask("test user"));
108
provider.
SetAuthenticationState
(CreateAuthenticationStateTask("test user"));
116
provider.
SetAuthenticationState
(CreateAuthenticationStateTask(null));
121
provider.
SetAuthenticationState
(CreateAuthenticationStateTask("different user"));
133
provider.
SetAuthenticationState
(CreateAuthenticationStateTask("test user"));
153
provider.
SetAuthenticationState
(CreateAuthenticationStateTask("test user"));
167
provider.
SetAuthenticationState
(CreateAuthenticationStateTask("different user"));
191
provider.
SetAuthenticationState
(CreateAuthenticationStateTask("test user"));
Circuits\ServerAuthenticationStateProviderTest.cs (2)
28
provider.
SetAuthenticationState
(Task.FromResult(expectedAuthenticationState1));
37
provider.
SetAuthenticationState
(Task.FromResult(expectedAuthenticationState2));