gmail_auth: Setup oauth authentication for your gmail

Description Usage Arguments See Also Examples

View source: R/old-auth.R

Description

Setup oauth authentication for your gmail

Usage

1
2
gmail_auth(scope = c("read_only", "modify", "compose", "full"),
  id = the$id, secret = the$secret, secret_file = NULL)

Arguments

scope

the authentication scope to use

id

the client_id to use for authentication

secret

the client secret to use for authentication

secret_file

the secret json file downloaded from https://console.cloud.google.com

See Also

use_secret_file to set the default id and secret to a different value than the default.

Examples

1
2
3
4
## Not run: 
gmail_auth("compose")

## End(Not run)

gmailr documentation built on Aug. 23, 2019, 5:06 p.m.