@softvision/webpdf-wsclient-typescript
Version:
A simplified and optimized API client library for the webPDF server
20 lines • 676 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.AbstractAuthMaterial = void 0;
const axios_1 = require("axios");
const connection_1 = require("../../connection");
class AbstractAuthMaterial {
getAuthHeader() {
if (typeof this.getRawAuthHeader() === "undefined") {
return undefined;
}
let authHeaders = new axios_1.AxiosHeaders();
authHeaders.set(connection_1.HttpHeaders.AUTHORIZATION, this.getRawAuthHeader());
return authHeaders;
}
getToken() {
return "";
}
}
exports.AbstractAuthMaterial = AbstractAuthMaterial;
//# sourceMappingURL=AbstractAuthMaterial.js.map