blob: 6b3310beda12ec7b613988e7d3cbb9bad3ccef3d [file] [log] [blame]
using Casbin.Persist;
namespace Casbin;
public class EnforcerOptions
{
public bool Enabled { get; set; } = true;
public bool EnabledCache { get; set; } = true;
public bool AutoBuildRoleLinks { get; set; } = true;
public bool AutoNotifyWatcher { get; set; } = true;
public bool AutoCleanEnforceCache { get; set; } = true;
public bool AutoLoadPolicy { get; set; } = true;
public IPolicyFilter AutoLoadPolicyFilter { get; set; } = null;
public bool AcceptJsonRequest { get; set; } = false;
}