google.oauth2: Google OAuth2 initial authentication

Description Usage Arguments Value See Also

Description

This function redirects the user to a consent screen where the user can grant or revoke access for the provided scope.

Usage

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)

Arguments

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

Value

GoogleOAuth2 object

See Also

read.google.oauth2, google.oauth2


datamart documentation built on May 2, 2019, 9:40 a.m.