Invalidate the bearer token automatically if you know the API key and API secret.
invalidate_bearer(api_key, api_secret, client = NULL, token = NULL)
API key and secret. Deprecated in favor of client_*
arguments.
Which client app will be used, see rtweet_client()
for details.
Expert use only. Use this to invalidate a specific bearer token
created with rtweet_app()
. If NULL
the default authentication mechanism is invalidated.
https://developer.twitter.com/en/docs/authentication/api-reference/invalidate_bearer_token https://developer.twitter.com/en/docs/authentication/api-reference/invalidate_access_token