AuthorizationConfiguration.cs 449 B

123456789101112131415161718
  1. using Abp.Authorization;
  2. using Abp.Collections;
  3. namespace Abp.Configuration.Startup
  4. {
  5. internal class AuthorizationConfiguration : IAuthorizationConfiguration
  6. {
  7. public ITypeList<AuthorizationProvider> Providers { get; }
  8. public bool IsEnabled { get; set; }
  9. public AuthorizationConfiguration()
  10. {
  11. Providers = new TypeList<AuthorizationProvider>();
  12. IsEnabled = true;
  13. }
  14. }
  15. }