5 references to AuthorizationPolicy
Microsoft.AspNetCore.Authorization (1)
AuthorizationPolicyBuilder.cs (1)
229return new AuthorizationPolicy(Requirements, AuthenticationSchemes.Distinct());
Microsoft.AspNetCore.Components.Authorization.Tests (1)
TestAuthorizationPolicyProvider.cs (1)
19new AuthorizationPolicy(new[]
Microsoft.AspNetCore.Mvc.Core.Test (2)
ApplicationModels\AuthorizationApplicationModelProviderTest.cs (2)
129var authorizationPolicy = new AuthorizationPolicy(requirements, new string[] { "dingos" }); 155var authorizationPolicy = new AuthorizationPolicy(requirements, new string[] { "dingos" });
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
AuthorizeFilterIntegrationTest.cs (1)
204return Task.FromResult(new AuthorizationPolicy(requirements, new string[] { }));