authorize: Authorize R package to access Google Slides API

Description Usage Arguments

View source: R/auth.R

Description

This is a function to authorize the R package to access the Googleslides API. If no client.id and client.secret is provided, the package would provide predefined values.

Usage

1
2
3
4
5
6
authorize(
  client_id = getOption("slides.client.id"),
  client_secret = getOption("slides.client.secret"),
  token = NULL,
  ...
)

Arguments

client_id

OAuth client ID. This is obtained from Google API Credentials

client_secret

OAuth client secret. This is obtained from Google API Credentials

token

an output from oauth2.0_token to set as the authentication token.

...

additional arguments to send to oauth2.0_token


sparklineanalytics/rgoogleslides documentation built on Nov. 9, 2021, 3:42 a.m.