(()=>{function t(e,n){var a="/tenant/tenants";return{getTfaSettings:function(t){t=r(t);return e.get(t,{silentError:!0}).then(n.getResData)},updateTfaSettings:function(t,n){n={strategy:n},t=r(t);return e.put(t,n,{headers:{"content-type":"application/json"}})}};function r(t){t=t.name||t;return"".concat(a,"/").concat(t,"/tfa")}}t.$inject=["$http","c8yBase"],angular.module("c8y.core").factory("c8yTfaSettings",t)})();