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