ozone-typescript-client
Advanced tools
Comparing version 6.1.11 to 6.2.0
@@ -50,3 +50,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
authenticate(ozoneURL) { | ||
return Promise.reject('Not implemented'); | ||
const httpClient = newHttpClient(); | ||
const request = new Request(`${ozoneURL}/rest/v3/authentication/login/token`) | ||
.setMethod('POST') | ||
.setBody({ | ||
token: this.token | ||
}); | ||
return httpClient.call(request); | ||
} | ||
@@ -53,0 +59,0 @@ } |
{ | ||
"name": "ozone-typescript-client", | ||
"version": "6.1.11", | ||
"version": "6.2.0", | ||
"description": "", | ||
@@ -40,3 +40,3 @@ "main": "dist/src/index.js", | ||
}, | ||
"gitHead": "b161c8a58825624069712035243b9fc95d961cf5" | ||
"gitHead": "e5d798fcd9ac7d7c9b366f39cdafd86d4055c62b" | ||
} |
Sorry, the diff of this file is not supported yet
477962
115
5215