Skip to main content
Module

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

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 OauthApi
import { OauthApi } from "https://deno.land/x/windmill@v1.28.1/windmill-api/index.ts";

Constructors

new
OauthApi(
configuration: Configuration,
requestFactory?: OauthApiRequestFactory,
responseProcessor?: OauthApiResponseProcessor,
)

Properties

private
api: ObservableOauthApi

Methods

connectCallback(
clientName: string,
inlineObject12: InlineObject12,
_options?: Configuration,
): Promise<TokenResponse>

connect callback

connectSlackCallback(inlineObject11: InlineObject11, _options?: Configuration): Promise<SlackToken>

connect slack callback

createAccount(
workspace: string,
inlineObject13: InlineObject13,
_options?: Configuration,
): Promise<string>

create OAuth account

disconnectAccount(
workspace: string,
id: string,
_options?: Configuration,
): Promise<string>

disconnect account

disconnectSlack(workspace: string, _options?: Configuration): Promise<string>

disconnect slack

listOAuthConnects(_options?: Configuration): Promise<{ [key: string]: InlineResponse2001; }>

list oauth connects

listOAuthLogins(_options?: Configuration): Promise<Array<string>>

list oauth logins

refreshToken(
workspace: string,
id: string,
inlineObject14: InlineObject14,
_options?: Configuration,
): Promise<string>

refresh token

setWorkspaceSlack(
workspace: string,
slackToken: SlackToken,
_options?: Configuration,
): Promise<string>

set workspace's slack