slack-edge
Version:
Slack app development framework for edge functions with streamlined TypeScript support
10 lines • 477 B
TypeScript
import { SlackOAuthEnv } from "../app-env";
/**
* Generates slack.com/oauth/v2/authorize URL with sufficient information.
* @param state state parameter string
* @param env env variables
* @param team team_id if it needs to be set in the URL
* @returns slack.com/oauth/v2/authorize URL
*/
export declare function generateAuthorizeUrl<E extends SlackOAuthEnv>(state: string, env: E, team?: string | undefined): string;
//# sourceMappingURL=authorize-url-generator.d.ts.map