The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
your_server = function(input, output, session) {
# Call Cognito module. ####
cognitomod <- callModule(cognito_server, "cognito")
# Call Logout module ####
logoutmod <- callModule(logout_server,
"logout",
reactive(cognitomod$isLogged),
sprintf("You are logged in as '%s'", cognitomod$userdata$email))
# To Click on button logout of logout module, call logout in cognito module. ####
observeEvent(logoutmod(),{
cognitomod$logout()
})
# Check if user is already logged, and load your content. ####
observeEvent(cognitomod$isLogged, {
if (cognitomod$isLogged) {
# User is logged
userdata <- cognitomod$userdata
output$content <- renderUI({
# Load your content here
})
}
})
}
)
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.