Description Usage Arguments Value See Also
View source: R/googleAuthR_shiny.R
The URL a user authenticates the Shiny app on.
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"))
|
redirect.uri |
App URL, from |
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. |
The URL for authentication.
Other shiny auth functions: authReturnCode
,
createCode
,
gar_shiny_getToken
,
gar_shiny_getUrl
,
loginOutput
,
reactiveAccessToken
,
renderLogin
,
revokeEventObserver
,
with_shiny
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.