Skip to main content
Module

x/wmill/deps.ts>OauthService

Open-source developer platform to turn scripts into workflows and UIs. Fastest workflow engine (5x vs Airflow). Open-source alternative to Airplane and Retool.
Go to Latest
class OauthService
import { OauthService } from "https://deno.land/x/wmill@v1.228.0/deps.ts";

Static Methods

connectCallback(unnamed 0: { clientName: string; requestBody: { code: string; state: string; }; }): CancelablePromise<TokenResponse>

connect callback

connectSlackCallback(unnamed 0: { workspace: string; requestBody: { code: string; state: string; }; }): CancelablePromise<string>

connect slack callback

createAccount(unnamed 0: { workspace: string; requestBody: { refresh_token?: string; expires_in: number; owner: string; client: string; }; }): CancelablePromise<string>

create OAuth account

disconnectAccount(unnamed 0: { workspace: string; id: number; }): CancelablePromise<string>

disconnect account

disconnectSlack(unnamed 0: { workspace: string; }): CancelablePromise<string>

disconnect slack

list oauth connects

listOAuthLogins(): CancelablePromise<{ oauth: Array<string>; saml?: string; }>

list oauth logins

refreshToken(unnamed 0: { workspace: string; id: number; requestBody: { path: string; }; }): CancelablePromise<string>

refresh token