8 references to AddPolicy
Aspire.Dashboard (4)
DashboardWebApplication.cs (4)
768
options.
AddPolicy
(
777
options.
AddPolicy
(
784
options.
AddPolicy
(
791
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);