UNPKG

@mbakgun/n8n-nodes-slack-socket-mode

Version:

Slack Socket Mode Node for n8n that allows you to use +100 Slack events in your n8n instance with proxy mode

22 lines 811 B
import type { Logger } from '@slack/logger'; export interface SlackRequestVerificationOptions { signingSecret: string; body: string; headers: { 'x-slack-signature': string; 'x-slack-request-timestamp': number; }; nowMilliseconds?: number; logger?: Logger; } /** * Verifies the signature of an incoming request from Slack. * If the request is invalid, this method throws an exception with the error details. */ export declare function verifySlackRequest(options: SlackRequestVerificationOptions): void; /** * Verifies the signature of an incoming request from Slack. * If the request is invalid, this method returns false. */ export declare function isValidSlackRequest(options: SlackRequestVerificationOptions): boolean; //# sourceMappingURL=verify-request.d.ts.map