scr_auth: Do OAuth2 authentication

Description Usage Arguments Details See Also

Description

Do OAuth2 authentication

Usage

1
scr_auth(token = NULL, new_user = FALSE)

Arguments

token

An existing OAuth2 token, if you have one.

new_user

Set to TRUE if you want to go through the authentication flow again.

Details

This function just wraps gar_auth from googleAuthR, but means you don't need to explictly load that library.

Don't use this if you are using multiple APIs aside Search Console.

See Also

gar_auth


yinscapital/searchConsoleR-reference documentation built on May 3, 2019, 4:31 p.m.