import { OauthService } from "https://deno.land/x/windmill@v1.421.2/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
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
listOAuthConnects(): CancelablePromise<Array<string>>
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