This function is used to secure your 'shiny' app's UI. Make sure to pass
your 'shiny' app's UI as the first argument to secure_ui()
at
the bottom of your 'shiny' app's "ui.R" file.
secure_ui(
ui,
sign_in_page_ui = NULL,
custom_admin_ui = NULL,
custom_admin_button_ui = admin_button_ui("polished"),
admin_ui_options = default_admin_ui_options()
)
UI of the application.
Either NULL
, the default, or the HTML, CSS, and JavaScript
to use for the UI of the Sign In page.
Either NULL
, the default, or a list of 2 elements containing custom
UI to add additional 'shinydashboard' tabs to the Polished admin panel.
Either admin_button_ui("polished")
, the default, or your custom
UI to take admins from the custom Shiny app to the Admin panel.
list of html elements to customize branding of the "Admin Panel". Valid
list element names are "title", "sidebar_branding", and "browser_tab_icon". See
default_admin_ui_options
for an example.
Secured Shiny app UI