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

x/windmill/windmill-api/types/ObservableAPI.ts>ObservableOauthApi

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 ObservableOauthApi
import { ObservableOauthApi } from "https://deno.land/x/windmill@v1.38.3/windmill-api/types/ObservableAPI.ts";

Constructors

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

Properties

private
configuration: Configuration
private
requestFactory: OauthApiRequestFactory
private
responseProcessor: OauthApiResponseProcessor

Methods

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

connect callback

connect slack callback

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

create OAuth account

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

disconnect account

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

disconnect slack

list oauth connects

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

list oauth logins

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

refresh token

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

set workspace's slack