ketting
Version:
Opiniated HATEAOS / Rest client.
8 lines • 325 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const fetch_mw_oauth2_1 = require("fetch-mw-oauth2");
exports.default = (oauth2Options, token) => {
const oauth2 = new fetch_mw_oauth2_1.OAuth2(oauth2Options, token);
return oauth2.fetchMw.bind(oauth2);
};
//# sourceMappingURL=oauth2.js.map