gar_auth_jsUI.Rd
A Javascript Google authorisation flow for Shiny apps.
gar_auth_jsUI(id, login_class = "btn btn-primary", logout_class = "btn btn-danger", login_text = "Log In", logout_text = "Log Out", approval_prompt_force = TRUE)
id | Shiny id |
---|---|
login_class | CSS class of login button |
logout_class | CSS class of logout button |
login_text | Text to show on login button |
logout_text | Text to show on logout button |
approval_prompt_force | Whether to force a login each time |
Shiny UI
Shiny Module for use with gar_auth_js