View source: R/shiny-js-signin.R
googleSignInUI | R Documentation |
Shiny Module for use with googleSignIn. If you just want a login to a Shiny app, without API tokens.
googleSignInUI(id, logout_name = "Sign Out", logout_class = "btn-danger")
id |
Shiny id. |
logout_name |
Character. Custom name of the logout button. |
logout_class |
Character. Bootstrap class name for buttons, e.g. "btn-info", "btn-dark". |
Shiny UI
Based on original code by David Kulp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.