Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/windmill/windmill-api/services/OauthService.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)
Latest
class OauthService
import { OauthService } from "https://deno.land/x/windmill@v1.416.1/windmill-api/services/OauthService.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

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

connect slack callback instance

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

getOAuthConnect(unnamed 0: { client: string; }): CancelablePromise<{ extra_params?: any; scopes?: Array<string>; }>

get oauth connect

list oauth connects

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

list oauth logins

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

refresh token