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