loginServer | R Documentation |
Shiny authentication module for use with loginUI
loginServer(input, output, session, log_out = NULL)
input |
shiny input |
output |
shiny output |
session |
shiny session |
log_out |
Reactive element. Supply the returned reactive from |
A reactive 3 element list to your main application.
user_auth |
A boolean indicating whether there has been a successful login or not |
info |
will be the succesfully logged in username, otherwise = NULL |
channel |
|
Other modules:
loginUI()
,
logoutServer()
,
logoutUI()
## Not run:
user_credentials <- shiny::callModule(loginServer, "login", log_out = reactive(logout_init()))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.