Learn R Programming

googleAuthR (version 0.1.0)

gar_shiny_getAuthUrl: Returns the Google authentication URL

Description

The URL a user authenticates the Shiny app on.

Usage

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"))

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; with_shiny