Documentation

ZendAuthenticator.config_prefix

This enables you to specify the prefix to look for when overriding config options. This default to "moxiemanager".

You can then use this code to authenticate the user:

// Override the filesystem.rootpath
$session = new Zend\Session\Container();
$session->{"moxiemanager.filesystem.rootpath"} = "/var/www/myroot";