10 references to DefaultAuthorizationService
Microsoft.AspNetCore.Authorization (3)
AuthorizationServiceCollectionExtensions.cs (1)
30
services.TryAdd(ServiceDescriptor.Transient<IAuthorizationService,
DefaultAuthorizationService
>());
DefaultAuthorizationService.cs (2)
27
/// Creates a new instance of <see cref="
DefaultAuthorizationService
"/>.
35
public DefaultAuthorizationService(IAuthorizationPolicyProvider policyProvider, IAuthorizationHandlerProvider handlers, ILogger<
DefaultAuthorizationService
> logger, IAuthorizationHandlerContextFactory contextFactory, IAuthorizationEvaluator evaluator, IOptions<AuthorizationOptions> options)
Microsoft.AspNetCore.Authorization.Test (3)
DefaultAuthorizationServiceTests.cs (3)
1158
public class DefaultAuthorizationServiceTestLogger : ILogger<
DefaultAuthorizationService
>
1200
services.AddSingleton<ILogger<
DefaultAuthorizationService
>>(new DefaultAuthorizationServiceTestLogger(Assertion));
1234
services.AddSingleton<ILogger<
DefaultAuthorizationService
>>(new DefaultAuthorizationServiceTestLogger(Assertion));
Microsoft.AspNetCore.Mvc.IntegrationTests (4)
AuthorizeFilterIntegrationTest.cs (2)
183
.AddTransient<ILogger<
DefaultAuthorizationService
>, Logger<
DefaultAuthorizationService
>>();
ModelBindingTestHelper.cs (2)
198
.AddTransient<ILogger<
DefaultAuthorizationService
>, Logger<
DefaultAuthorizationService
>>();