Description Usage Arguments Value See Also
This function redirects the user to a consent screen where the user can grant or revoke access for the provided scope.
1 2 3 | google.oauth2(scope, client_id = getOption("datamart.client_id"),
client_secret = getOption("datamart.client_secret"), name = "",
clss = "GoogleOAuth2", curl = RCurl::getCurlHandle(), verbose = TRUE)
|
scope |
either shortname ("blogger") or URL of the scope |
client_id |
client id. Defaults to getOption("datamart.client_id") |
client_secret |
client secret. Defaults to getOption("datamart.client_secret") |
name |
currently ignored |
clss |
the class to create. Must be derived from GoogleOAuth2 |
curl |
curl.handle object |
verbose |
prints diagnostic messages on the way |
GoogleOAuth2 object
read.google.oauth2
, google.oauth2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.