AuthorizeRouteView combines AuthorizeView and RouteView on one abstraction for convenience, but it was missing a Resource parameter to capture and flow the resource to pass on to the AuthorizationService. This PR adds a new Resource parameter and makes sure that the value is passed to the authorization service so that it is available for the authorization handlers in a policy. |
||
|---|---|---|
| .. | ||
| AuthorizeRouteViewTest.cs | ||
| AuthorizeViewTest.cs | ||
| CascadingAuthenticationStateTest.cs | ||
| Microsoft.AspNetCore.Components.Authorization.Tests.csproj | ||
| TestAuthenticationStateProvider.cs | ||
| TestAuthorizationPolicyProvider.cs | ||
| TestAuthorizationService.cs | ||
| TestIdentity.cs | ||