import { PromiseOauthApi } from "https://deno.land/x/windmill@v1.38.3/windmill-api/types/PromiseAPI.ts";
Constructors
new
PromiseOauthApi(configuration: Configuration,
requestFactory?: OauthApiRequestFactory,
responseProcessor?: OauthApiResponseProcessor,
Properties
private
api: ObservableOauthApiMethods
connectCallback(): Promise<TokenResponse>
connect callback
connectSlackCallback(inlineObject11: InlineObject11, _options?: Configuration): Promise<SlackToken>
connect slack callback
createAccount(): Promise<string>
create OAuth account
disconnectAccount(): 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(): Promise<string>
refresh token
setWorkspaceSlack(): Promise<string>
set workspace's slack