check_login | R Documentation |
Confirm that a user is logged into Slack.
check_login(
team_id,
session = shiny::getDefaultReactiveDomain(),
shinyslack_key = Sys.getenv("SHINYSLACK_KEY")
)
team_id |
The Slack team ID through which the user is being authenticated. |
session |
The shiny session object. The default
|
shinyslack_key |
(optional) A key to use to encrypt the string. If not set, the string is returned unencrypted. |
A shiny::reactive()
which returns a logical indicating whether the
user is logged in with proper API access.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.