4 references to CascadingAuthenticationState
Microsoft.AspNetCore.Components.Authorization (4)
AuthorizeRouteView.cs (2)
81builder.OpenComponent<CascadingAuthenticationState>(0); 82builder.AddComponentParameter(1, nameof(CascadingAuthenticationState.ChildContent), _renderAuthorizeRouteViewCoreDelegate);
AuthorizeViewCore.cs (1)
83throw new InvalidOperationException($"Authorization requires a cascading parameter of type Task<{nameof(AuthenticationState)}>. Consider using {typeof(CascadingAuthenticationState).Name} to supply this.");
CascadingAuthenticationStateServiceCollectionExtensions.cs (1)
16/// having a <see cref="CascadingAuthenticationState"/> component at the root of your component hierarchy.