gar_deauth: Suspend authorization

Description Usage See Also Examples

View source: R/auth_gargle.R

Description

Put googleAuthR into a de-authorized state. Instead of sending a token, googleAuthR 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 googleAuthR 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 [gar_auth_configure()] and retrieve that key via [gar_api_key()]. In the absence of a user-configured key, a built-in default key is used.

Usage

1

See Also

Other auth functions: gar_auth_configure()

Examples

1
2
3
4
## Not run: 
gar_deauth()

## End(Not run)

googleAuthR documentation built on April 2, 2021, 5:06 p.m.