gar_auth_jsUI: Shiny JavaScript Google Authorisation [UI Module]

Description Usage Arguments Details Value

View source: R/shiny.R

Description

A Javascript Google authorisation flow for Shiny apps.

Usage

1
2
3
4
gar_auth_jsUI(id, login_class = "btn btn-primary",
  logout_class = "btn btn-danger", login_text = "Log In",
  logout_text = "Log Out", approval_prompt = c("force", "online",
  "offline"))

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

approval_prompt

The type of authentication

Details

Shiny Module for use with gar_auth_js

Value

Shiny UI


googleAuthR documentation built on Nov. 17, 2017, 6:30 a.m.