@rocket.chat/apps-engine
Version:
The engine code for the Rocket.Chat Apps which manages, runs, translates, coordinates and all of that.
19 lines (17 loc) • 599 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.createOAuth2Client = void 0;
const OAuth2Client_1 = require("../../server/oauth2/OAuth2Client");
/**
* Placeholder factory for OAuth2Client in case
* we need to pass internal stuff to it.
*
* @param app App that will connect via OAuth2
* @param options Options for the OAuth2Client
* @returns OAuth2Client instance
*/
function createOAuth2Client(app, options) {
return new OAuth2Client_1.OAuth2Client(app, options);
}
exports.createOAuth2Client = createOAuth2Client;
//# sourceMappingURL=OAuth2.js.map
;