loginServer: Login server module.

View source: R/loginServer.R

loginServerR Documentation

Login server module.

Description

Shiny authentication module for use with loginUI

Usage

loginServer(input, output, session, log_out = NULL)

Arguments

input

shiny input

output

shiny output

session

shiny session

log_out

Reactive element. Supply the returned reactive from logoutServer here to trigger a user logout

Value

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

DBIConnection-class object after successful connection

See Also

Other modules: loginUI(), logoutServer(), logoutUI()

Examples

 ## Not run: 
 user_credentials <- shiny::callModule(loginServer, "login", log_out = reactive(logout_init()))

## End(Not run)

andybeet/authenticate documentation built on Sept. 24, 2023, 11:28 p.m.