The URL a user authenticates the Shiny app on.

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