Skip to contents

This is a function to authorize the R package to access the Googleclassroom API interactively.

Usage

authorize(token = NULL, cache = FALSE, ...)

Arguments

token

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

cache

Should the token be cached as an .httr-oauth file?

...

additional arguments to send to oauth2.0_token

Value

OAuth token saved to the environment so the package can use the users' Google data

Examples

if (FALSE) {

authorize()
}