verify_request: Verify Request

View source: R/auth.R

verify_requestR Documentation

Verify Request

Description

With the help of signing secrets, your app can more confidently verify whether requests from Slack are authentic.

Usage

verify_request(
  request_timestamp,
  request_signature,
  request_body_raw,
  signing_secret,
  version = "v0"
)

Arguments

request_timestamp

The X-Slack-Request-Timestamp header on the HTTP request.

request_signature

The X-Slack-Signature header on the request.

request_body_raw

The raw request body from the request. Make sure that this request body contains no headers and is not deserialized in any way. Slack only uses the raw request payload.

signing_secret

Your app's signing secret available in the app admin panel under Basic Info.

version

The version number right now is always v0.

Value

TRUE upon successful verification, otherwise an error is thrown.

See Also

https://api.slack.com/authentication/verifying-requests-from-slack


samterfa/slackme documentation built on April 11, 2022, 3:29 a.m.