logout_button {login}R 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.


[Package login version 0.9.3 Index]