lokalise_api_oauth.js 530 B

1234567891011121314
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.LokaliseApiOAuth = void 0;
  4. const lokalise_api_1 = require("./lokalise_api");
  5. class LokaliseApiOAuth extends lokalise_api_1.LokaliseApi {
  6. constructor(params) {
  7. super(params);
  8. const tokenType = params["tokenType"];
  9. this.clientData.tokenType = tokenType ?? "Bearer";
  10. this.clientData.authHeader = "Authorization";
  11. }
  12. }
  13. exports.LokaliseApiOAuth = LokaliseApiOAuth;
  14. //# sourceMappingURL=lokalise_api_oauth.js.map