electron-oauth-helper
Version:
Easy to use helper library for OAuth1 and OAuth2.
6 lines • 397 B
TypeScript
import { BrowserWindow } from "electron";
import { OAuthConfigType, WindowOptions } from "../";
import { OAuth2EmitterType } from ".";
export declare type TaskFunction<C> = (config: C, ee: OAuth2EmitterType, window?: BrowserWindow, windowOptions?: WindowOptions) => Promise<any>;
export declare const flowTaskFor: (config: OAuthConfigType) => TaskFunction<any>;
//# sourceMappingURL=tasks.d.ts.map