R/run_app_auth0.R

Defines functions run_app_auth0

Documented in run_app_auth0

#' Run the Shiny Application
#'
#' @export
#' @importFrom shiny shinyApp
#' @importFrom golem with_golem_options
run_app_auth0 <- function(...) {
  with_golem_options(
    app = auth0::shinyAppAuth0(
      ui = app_ui(), 
      server = app_server, 
      config_file = system.file("app/_auth0.yml", package = "golem.auth0")
    ), 
    golem_opts = list(...)
  )
}
henrique1008/golem.auth0 documentation built on Jan. 3, 2020, 12:14 a.m.