<?xml version="1.0" encoding="UTF-8"?>
<authdriver name="sql" label="CONF_MESSAGE[DB Auth Storage]"
            description="CONF_MESSAGE[Stores the Authentication data in an SQL database.]"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:noNamespaceSchemaLocation="file:../core.ajaxplorer/ajxp_registry.xsd"
            mixins="dibidriver_consumer,dibidriver_provider,authdriver_commons"
        >
    <client_settings>
        <resources>
            <i18n namespace="sql_auth" path="plugins/auth.sql/i18n"/>
        </resources>
    </client_settings>
	<server_settings>
		<param name="SQL_DRIVER" type="group_switch:dibi" label="CONF_MESSAGE[Connexion]" description="CONF_MESSAGE[The Database Connexion]" default="core" mandatory="true"/>
        <param type="button" name="INSTALL_SQL" choices="run_plugin_action:auth.sql:installSQLTables" label="CONF_MESSAGE[SQL Tables]" description="CONF_MESSAGE[Install SQL Tables]" mandatory="false"/>
	</server_settings>
	<class_definition filename="plugins/auth.sql/SqlAuthDriver.php" classname="Pydio\Auth\Driver\SqlAuthDriver"/>
	<registry_contributions>
		<external_file filename="plugins/core.auth/standard_auth_actions.xml" include="actions/*" exclude=""/>
	</registry_contributions>
</authdriver>
