cognito_server {cognitoR} | R Documentation |
Cognito Shiny Module Server
Description
A shiny server function to implement Cognito Authentication in your shiny app.
Usage
cognito_server(
input,
output,
session,
with_cookie = FALSE,
cookiename = "cognitor",
cookie_expire = 7
)
Arguments
input |
- Shiny input |
output |
- Shiny Output |
session |
- Shiny Session |
with_cookie |
- Create a own cookie when is authenticated in Cognito. |
cookiename |
- name for cookie |
cookie_expire |
- Expiration time for cookie |
Value
reactiveValues (isLogged and userdata) and a callback function to do logout in Cognito.
Author(s)
Pablo Pagnone
[Package cognitoR version 1.0.5 Index]