12 writes to AuthenticationState
Microsoft.AspNetCore.Components.Authorization.Tests (12)
AuthorizeViewTest.cs (12)
59
rootComponent.
AuthenticationState
= CreateAuthenticationState("Nellie");
93
rootComponent.
AuthenticationState
= CreateAuthenticationState("Nellie");
123
rootComponent.
AuthenticationState
= CreateAuthenticationState("Nellie");
159
rootComponent.
AuthenticationState
= CreateAuthenticationState("Nellie");
195
rootComponent.
AuthenticationState
= CreateAuthenticationState("Nellie");
206
rootComponent.
AuthenticationState
= CreateAuthenticationState("Ronaldo");
261
rootComponent.
AuthenticationState
= authTcs.Task;
304
rootComponent.
AuthenticationState
= authTcs.Task;
362
rootComponent.
AuthenticationState
= authTcs.Task;
414
rootComponent.
AuthenticationState
= CreateAuthenticationState("Nellie");
437
rootComponent.
AuthenticationState
= CreateAuthenticationState("Nellie");
462
rootComponent.
AuthenticationState
= CreateAuthenticationState("Nellie");
1 reference to AuthenticationState
Microsoft.AspNetCore.Components.Authorization.Tests (1)
AuthorizeViewTest.cs (1)
534
builder.AddComponentParameter(1, nameof(CascadingValue<Task<AuthenticationState>>.Value),
AuthenticationState
);