5 references to AuthorizePage
Microsoft.AspNetCore.Mvc.RazorPages (1)
DependencyInjection\PageConventionCollectionExtensions.cs (1)
220
AuthorizePage
(conventions, pageName, policy: string.Empty);
Microsoft.AspNetCore.Mvc.RazorPages.Test (2)
DependencyInjection\PageConventionCollectionExtensionsTest.cs (2)
417
conventions.
AuthorizePage
("/Users/Account", "Manage-Accounts");
446
conventions.
AuthorizePage
("/Users/Account", "Manage-Accounts");
SecurityWebSite (2)
StartupWithGlobalAuthFilter.cs (1)
34
options.Conventions.
AuthorizePage
("/AuthorizePageViaConvention", "RequireClaimB");
StartupWithGlobalAuthFilterWithoutEndpointRouting.cs (1)
35
options.Conventions.
AuthorizePage
("/AuthorizePageViaConvention", "RequireClaimB");