Learn R Programming

cognitoR (version 1.0.5)

logout_server: Logout Shiny Module Server

Description

Receive a reactive element (isLogged), when is TRUE the logout button and information about is shown.

Usage

logout_server(
  input,
  output,
  session,
  isLogged = reactive(FALSE),
  textlogged = "You are logged in"
)

Value

reactive (the logout button)

Arguments

input

Shiny input

output

Shiny output

session

Shiny session

isLogged

reactive

textlogged

character

Examples

Run this code
logout_server(NULL, NULL, NULL)

Run the code above in your browser using DataLab