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