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(),
admin_ui_options = default_admin_ui_options()
)
Secured Shiny app UI
UI of the application.
Either NULL
, the default (See sign_in_ui_default
), or the Shiny
UI for a custom Sign In page.
Either NULL
, the default, or the Shiny UI for a custom
Admin Panel.
Either admin_button_ui()
, the default, or your custom
UI to take Admins from the custom Shiny app to the polished
Admin Panel. Set to
NULL
to exclude the button.
list of HTML elements to customize branding of the polished
Admin Panel. This
argument is only applicable if the custom_admin_ui
is set to NULL
. If a custom_admin_ui
is provided, then these options will be ignored. Valid
list element names are title
, sidebar_branding
, and browser_tab_icon
. See
default_admin_ui_options
, the default.