@acceleratxr/core_sdk
Advanced tools
Comparing version 1.20.0 to 1.21.0
@@ -21,2 +21,16 @@ "use strict"; | ||
/** | ||
* Returns the configuration used for accepting user secrets of type password. | ||
*/ | ||
configPasswords() { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const result = yield this.apiClient.send("/config/passwords", "GET", undefined); | ||
if (result.status === 200) { | ||
return result.data; | ||
} | ||
else { | ||
throw result.data; | ||
} | ||
}); | ||
} | ||
/** | ||
* Returns all secrets for a given user. | ||
@@ -23,0 +37,0 @@ */ |
@@ -8,2 +8,6 @@ import ServiceBase from "../ServiceBase"; | ||
/** | ||
* Returns the configuration used for accepting user secrets of type password. | ||
*/ | ||
configPasswords(): Promise<any>; | ||
/** | ||
* Returns all secrets for a given user. | ||
@@ -10,0 +14,0 @@ */ |
{ | ||
"name": "@acceleratxr/core_sdk", | ||
"version": "1.20.0", | ||
"version": "1.21.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": "Jean-Philippe Steinmetz <info@acceleratxr.com>", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
4024975
14210