4 references to CascadingAuthenticationState
Microsoft.AspNetCore.Components.Authorization (4)
AuthorizeRouteView.cs (2)
81
builder.OpenComponent<
CascadingAuthenticationState
>(0);
82
builder.AddComponentParameter(1, nameof(
CascadingAuthenticationState
.ChildContent), _renderAuthorizeRouteViewCoreDelegate);
AuthorizeViewCore.cs (1)
83
throw 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.