dot-validate_cookie_token: Make Sure a Cookie Token Works

.validate_cookie_tokenR Documentation

Description

Make Sure a Cookie Token Works

Usage

.validate_cookie_token(
  cookie_token,
  team_id,
  shinyslack_key = Sys.getenv("SHINYSLACK_KEY")
)

Arguments

cookie_token

A character with the code used to authenticate the user.

team_id

The Slack team ID through which the user is being authenticated.

shinyslack_key

(optional) A key to use to encrypt the string. If not set, the string is returned unencrypted.

Value

A logical indicating whether the token works for testing authentication for this team.


r4ds/shinyslack documentation built on March 26, 2024, 4:26 a.m.