Skip to main content
Module

x/slack_bolt/deps.ts>InstallProvider#handle

TypeScript framework to build Slack apps in a flash with the latest platform features. Deno port of @slack/bolt
Latest
method InstallProvider.prototype.handle
import { InstallProvider } from "https://deno.land/x/slack_bolt@1.0.0/deps.ts";

This method handles the incoming request to the callback URL. It can be used as a RequestListener in almost any HTTP server framework.

Verifies the state using the stateStore, exchanges the grant in the query params for an access token, and stores token and associated data in the installationStore.

Parameters

code: string
state: string

Returns

Promise<string>