5 references to AllowAnonymousToPage
Microsoft.AspNetCore.Mvc.RazorPages.Test (2)
DependencyInjection\PageConventionCollectionExtensionsTest.cs (2)
56
conventions.
AllowAnonymousToPage
("/Users/Contact");
91
conventions.
AllowAnonymousToPage
("/Users/Contact");
RazorPagesWebSite (1)
StartupWithoutEndpointRouting.cs (1)
21
options.Conventions.
AllowAnonymousToPage
("/Pages/Admin/Login");
SecurityWebSite (2)
StartupWithGlobalAuthFilter.cs (1)
33
options.Conventions.
AllowAnonymousToPage
("/AllowAnonymousPageViaConvention");
StartupWithGlobalAuthFilterWithoutEndpointRouting.cs (1)
34
options.Conventions.
AllowAnonymousToPage
("/AllowAnonymousPageViaConvention");