11 references to AuthenticationStateChanged
Microsoft.AspNetCore.Components.Authorization (5)
AuthenticationStateProvider.cs (3)
24
/// Raises the <see cref="
AuthenticationStateChanged
"/> event.
31
AuthenticationStateChanged
?.Invoke(task);
36
/// A handler for the <see cref="AuthenticationStateProvider.
AuthenticationStateChanged
"/> event.
CascadingAuthenticationStateServiceCollectionExtensions.cs (2)
40
_authenticationStateProvider.
AuthenticationStateChanged
+= HandleAuthenticationStateChanged;
54
_authenticationStateProvider.
AuthenticationStateChanged
-= HandleAuthenticationStateChanged;
Microsoft.AspNetCore.Components.Server (1)
Circuits\RevalidatingServerAuthenticationStateProvider.cs (1)
32
AuthenticationStateChanged
+= authenticationStateTask =>
Microsoft.AspNetCore.Components.Server.Tests (5)
Circuits\RevalidatingServerAuthenticationStateProviderTest.cs (5)
40
provider.
AuthenticationStateChanged
+= _ => { didNotifyAuthenticationStateChanged = true; };
64
provider.
AuthenticationStateChanged
+= newStateTask => newAuthStateNotificationTcs.SetResult(newStateTask);
88
provider.
AuthenticationStateChanged
+= newStateTask => newAuthStateNotificationTcs.SetResult(newStateTask);
154
provider.
AuthenticationStateChanged
+= _ => { authenticationStateChangedCount++; };
192
provider.
AuthenticationStateChanged
+= _ =>