3 references to AuthenticationState
Microsoft.AspNetCore.Components.Authorization (3)
AuthorizeViewCore.cs (3)
81
if (
AuthenticationState
== null)
83
throw new InvalidOperationException($"Authorization requires a cascading parameter of type Task<{nameof(
AuthenticationState
)}>. Consider using {typeof(CascadingAuthenticationState).Name} to supply this.");
90
currentAuthenticationState = await
AuthenticationState
;