R Package adding SoccerLab Authentication to your Shiny App.
To install the package run devtools::install_github("quesdnv/spf_rshiny")
in the command window.
Before you can use the SoccerLab package, it is required to have a config file "soccerlab.json" available in the directory of your Shiny App.
The configuration file can also be generated for you by running the commmand shinySlab::use_soccerlab()
and replace with your domain.
Adding Soccerlab authentication to your Shiny App is as easy as: * replacing "shinyApp()" with "shinySlab::shinySlabApp()"
Optionally with additional properties of "shinySlabApp" config_file: Path to the json config file verboseFlag: boolean value. If TRUE, verbose information will be added to console and ui. * roles: atomic vector of characters listing allowed user type roles (guid) c("roleId","..",...)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.