gads_deauth: Suspend authorization

View source: R/gads_auth.R

gads_deauthR Documentation

Suspend authorization

Description

Put rgoogleads into a de-authorized state. Instead of sending a token, rgoogleads will send an API key. This can be used to access public resources for which no Google sign-in is required. This is handy for using rgoogleads in a non-interactive setting to make requests that do not require a token. It will prevent the attempt to obtain a token interactively in the browser. The user can configure their own API key via gads_auth_configure() and retrieve that key via gads_api_key(). In the absence of a user-configured key, a built-in default key is used.

Usage

gads_deauth()

Value

only suspend authorization

See Also

Other auth functions: gads_auth_configure(), gads_auth()


rgoogleads documentation built on Sept. 17, 2023, 5:07 p.m.