0011666: Some fixes for Expressodriver
[tine20] / tine20 / Expressodriver / Frontend / Json.php
index e4c5879..599eff7 100644 (file)
@@ -216,5 +216,17 @@ class Expressodriver_Frontend_Json extends Tinebase_Frontend_Json_Abstract
         return $registryData;
     }
 
+    /**
+     * set credentials for given adapter
+     *
+     * @param string $adapterName
+     * @param string $password
+     * @return array
+     */
+    public function setCredentials($adapterName, $password)
+    {
+        return Expressodriver_Controller::getInstance()->setCredentials($adapterName, $password);
+    }
+
 
 }