Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

googleAuth_jsUI

Shiny JavaScript Google Authorisation [UI Module]


Description

A Javascript Google authorisation flow for Shiny apps.

Usage

googleAuth_jsUI(
  id,
  login_class = "btn btn-primary",
  logout_class = "btn btn-danger",
  login_text = "Log In",
  logout_text = "Log Out",
  prompt = c("consent", "select_account", "both", "none"),
  scopes = getOption("googleAuthR.scopes.selected", "email")
)

Arguments

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

prompt

The type of login screen

scopes

Set the scopes, minimum needs is "email"

Details

Shiny Module for use with googleAuth_js

Value

Shiny UI


googleAuthR

Authenticate and Create Google APIs

v1.4.0
MIT + file LICENSE
Authors
Mark Edmondson [aut, cre] (<https://orcid.org/0000-0002-8434-3881>), Jennifer Bryan [ctb], Johann deBoer [ctb], Neal Richardson [ctb], David Kulp [ctb], Joe Cheng [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.