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