added function for clearing cookies

This commit is contained in:
Sefa Ilkimen
2016-12-05 18:25:14 +01:00
parent 20e5bd0ee9
commit 4afb375971
4 changed files with 25 additions and 13 deletions
+3
View File
@@ -44,6 +44,9 @@ function registerService(http) {
setDataSerializer: function (serializer) {
return http.setParamSerializer(serializer);
},
clearCookies: function () {
return http.clearCookies();
},
enableSSLPinning: function (enable) {
return makePromise(http.enableSSLPinning, [enable]);
},