IAuthorizationConfiguration.cs 576 B

12345678910111213141516171819202122
  1. using Abp.Authorization;
  2. using Abp.Collections;
  3. namespace Abp.Configuration.Startup
  4. {
  5. /// <summary>
  6. /// Used to configure authorization system.
  7. /// </summary>
  8. public interface IAuthorizationConfiguration
  9. {
  10. /// <summary>
  11. /// List of authorization providers.
  12. /// </summary>
  13. ITypeList<AuthorizationProvider> Providers { get; }
  14. /// <summary>
  15. /// Enables/Disables attribute based authentication and authorization.
  16. /// Default: true.
  17. /// </summary>
  18. bool IsEnabled { get; set; }
  19. }
  20. }