A Javascript Google authorisation flow for Shiny apps.
gar_auth_jsUI(...)googleAuth_jsUI(id, login_class = "btn btn-primary",
logout_class = "btn btn-danger", login_text = "Log In",
logout_text = "Log Out", approval_prompt_force = TRUE,
scopes = getOption("googleAuthR.scopes.selected", "email"))
Arguments passed to googleAuth_jsUI
Shiny id
CSS class of login button
CSS class of logout button
Text to show on login button
Text to show on logout button
Whether to force a login each time
Set the scopes, minimum needs is "email"
Shiny UI
Shiny Module for use with gar_auth_js