Skip to main content
Module

x/windmill/windmill-api/index.ts>OauthService

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
class OauthService
import { OauthService } from "https://deno.land/x/windmill@v1.298.0/windmill-api/index.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; 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