Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.43.1/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; 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

list oauth logins

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

refresh token