Skip to contents

Checks authentication & identity against the Slack API.

Usage

auth_test(token = Sys.getenv("SLACK_TOKEN"))

Arguments

token

Authentication token bearing required scopes.

References

https://api.slack.com/methods/auth.test

Examples

if (Sys.getenv("SLACK_TOKEN") != "") {
  auth_test()
}