Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-01-11 13:42:36 +0300
committerJoas Schilling <coding@schilljs.com>2017-02-07 18:59:59 +0300
commit7c366f160213e70aa874a5b201b23d9ff58793bd (patch)
treec5104bb9ee5d89b57d9360f5c778748ec8ae260e /lib/public
parentcd82be929d55262a1bfee4de315afdccebdbc4c2 (diff)
Filter out sensitive appconfig values
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/IAppConfig.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/public/IAppConfig.php b/lib/public/IAppConfig.php
index 01aca47ad81..4a92a224840 100644
--- a/lib/public/IAppConfig.php
+++ b/lib/public/IAppConfig.php
@@ -87,6 +87,15 @@ interface IAppConfig {
public function getValues($app, $key);
/**
+ * get all values of the app or and filters out sensitive data
+ *
+ * @param string $app
+ * @return array
+ * @since 12.0.0
+ */
+ public function getFilteredValues($app);
+
+ /**
* sets a value in the appconfig
* @param string $app app
* @param string $key key