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