logoutServer | R Documentation |
Shiny authentication module for use with logoutUI
logoutServer(input, output, session, active)
input |
Character String. Shiny input |
output |
shiny output |
session |
shiny session |
active |
Reactive element. Supply the returned user_auth boolean reactive from |
The reactive output of this module should be supplied as the log_out argument to the
loginServer
module to trigger the logout process
Other modules:
loginServer()
,
loginUI()
,
logoutUI()
## Not run:
logout_init <- shiny::callModule(logoutServer, "logout", active = reactive(user_credentials()$user_auth))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.