mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
Add XMLRPC Sync.
This commit is contained in:
committed by
Franco Fichtner
parent
562bb2cd99
commit
44215dc67c
@@ -13,3 +13,12 @@ function proxy_sso_squid_hook($verbose, $action)
|
||||
configd_run('template reload OPNsense/ProxySSO');
|
||||
}
|
||||
}
|
||||
|
||||
function proxy_sso_xmlrpc_sync()
|
||||
{
|
||||
$result = array();
|
||||
$result['id'] = 'proxysso';
|
||||
$result['section'] = 'OPNsense.ProxySSO';
|
||||
$result['description'] = gettext('Kerberos authentication module');
|
||||
return array($result);
|
||||
}
|
||||
|
||||
@@ -40,3 +40,12 @@ function proxy_useracl_squid_hook()
|
||||
configd_run('template reload OPNsense/ProxyUserACL');
|
||||
configd_run('proxyuseracl reload');
|
||||
}
|
||||
|
||||
function proxy_useracl_xmlrpc_sync()
|
||||
{
|
||||
$result = array();
|
||||
$result['id'] = 'proxyuseracl';
|
||||
$result['section'] = 'OPNsense.ProxyUserACL';
|
||||
$result['description'] = gettext('Group & User Squid ACL');
|
||||
return array($result);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user