7 writes to CurrentAuthStateTask
Microsoft.AspNetCore.Components.Authorization.Tests (7)
AuthorizeRouteViewTest.cs (4)
25_authenticationStateProvider.CurrentAuthStateTask = Task.FromResult( 179_authenticationStateProvider.CurrentAuthStateTask = Task.FromResult(new AuthenticationState( 207_authenticationStateProvider.CurrentAuthStateTask = authStateTcs.Task; 251_authenticationStateProvider.CurrentAuthStateTask = authStateTcs.Task;
CascadingAuthenticationStateTest.cs (3)
39CurrentAuthStateTask = Task.FromResult(CreateAuthenticationState("Bert")) 72CurrentAuthStateTask = authStateTaskCompletionSource.Task 124CurrentAuthStateTask = Task.FromResult(CreateAuthenticationState(null))
2 references to CurrentAuthStateTask
Microsoft.AspNetCore.Components.Authorization.Tests (2)
AuthorizeRouteViewTest.cs (1)
305_authenticationStateProvider.CurrentAuthStateTask,
TestAuthenticationStateProvider.cs (1)
12return CurrentAuthStateTask;