calendar_deauth: Clear current token

Description Usage See Also Examples

View source: R/gcalendr_auth.R

Description

Clears any currently stored token. The next time gcalendr needs a token, the token acquisition process starts over, with a fresh call to calendar_auth() and, therefore, internally, a call to gargle::token_fetch(). Unlike some other packages that use gargle, gcalendr is not usable in a de-authorized state. Therefore, calling calendar_deauth() only clears the token, i.e. it does NOT imply that subsequent requests are made with an API key in lieu of a token.

Usage

1

See Also

Other auth functions: calendar_auth_configure(), calendar_auth()

Examples

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

## End(Not run)

andrie/gcalendr documentation built on March 8, 2020, 2:36 a.m.