logout_button: Logout button.

View source: R/logout_ui.R

logout_buttonR Documentation

Logout button.

Description

Render a button for the user to logout.

Usage

logout_button(
  id,
  label = "Logout",
  icon = shiny::icon("right-from-bracket"),
  style = "",
  check_login = TRUE
)

Arguments

id

id unique ID for the Shiny Login module.

label

label of the logout button.

icon

icon for the logout button.

style

CSS styles for the logout button.

check_login

if TRUE this will call is_logged_in().

Value

a shiny::actionButton() if the user is logged in.


login documentation built on May 29, 2024, 4:07 a.m.