shinyslack_app | R Documentation |
Launch a shiny::shinyApp()
with an integrated Slack login.
shinyslack_app(
ui,
server,
team_id,
...,
expiration = 90,
shinyslack_key = Sys.getenv("SHINYSLACK_KEY")
)
ui |
A 0- or 1-argument function defining the UI of a Shiny app, or a
|
server |
A function with three parameters: |
team_id |
The Slack team ID through which the user is being authenticated. |
... |
Additional parameters passed on to |
expiration |
Days after which the cookie should expire. To remove an HttpOnly cookie, send a negative value for this attribute. |
shinyslack_key |
(optional) A key to use to encrypt the string. If not set, the string is returned unencrypted. |
An object that represents the app. See shiny::shinyApp()
for
details.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.