gar_shiny_getAuthUrl: Returns the Google authentication URL

Description Usage Arguments Value See Also

View source: R/shiny.R

Description

The URL a user authenticates the Shiny app on.

Usage

1
2
3
4
5
6
7
gar_shiny_getAuthUrl(redirect.uri,
  state = getOption("googleAuthR.securitycode"),
  client.id = getOption("googleAuthR.webapp.client_id"),
  client.secret = getOption("googleAuthR.webapp.client_secret"),
  scope = getOption("googleAuthR.scopes.selected"),
  access_type = c("online", "offline"), approval_prompt = c("auto",
  "force"))

Arguments

redirect.uri

App URL, from gar_shiny_getUrl

state

A random string used to check auth is from same origin.

client.id

From the Google API console.

client.secret

From the Google API console.

scope

What Google API service to get authentication for.

Value

The URL for authentication.

See Also

Other shiny auth functions: authReturnCode, createCode, gar_shiny_getToken, gar_shiny_getUrl, loginOutput, reactiveAccessToken, renderLogin, revokeEventObserver, with_shiny


googleAuthR documentation built on June 21, 2018, 5:05 p.m.