8 references to AddPolicy
Aspire.Dashboard (4)
DashboardWebApplication.cs (4)
801
options.
AddPolicy
(
810
options.
AddPolicy
(
817
options.
AddPolicy
(
824
options.
AddPolicy
(
Microsoft.AspNetCore.Authorization (1)
AuthorizationBuilder.cs (1)
75
Services.Configure<AuthorizationOptions>(o => o.
AddPolicy
(name, policy));
Microsoft.AspNetCore.Mvc.Core.Test (3)
ApplicationModels\AuthorizationApplicationModelProviderTest.cs (1)
131
authOptions.Value.
AddPolicy
("Base", authorizationPolicy);
Authorization\AuthorizeFilterTest.cs (2)
476
options.
AddPolicy
("some-policy", policy);
549
options.
AddPolicy
("policy2", policy2);