UNPKG

@rocket.chat/apps-engine

Version:

The engine code for the Rocket.Chat Apps which manages, runs, translates, coordinates and all of that.

13 lines (12 loc) 482 B
import { OAuth2Client } from '../../server/oauth2/OAuth2Client'; import type { App } from '../App'; import type { IOAuth2ClientOptions } from './IOAuth2'; /** * 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 */ export declare function createOAuth2Client(app: App, options: IOAuth2ClientOptions): OAuth2Client;