invalidate_bearer: Invalidate bearer token

View source: R/bearer_token.R

invalidate_bearerR Documentation

Invalidate bearer token

Description

Invalidate the bearer token automatically if you know the API key and API secret.

Usage

invalidate_bearer(api_key, api_secret, client = NULL, token = NULL)

Arguments

api_key, api_secret

API key and secret. Deprecated in favor of ⁠client_*⁠ arguments.

client

Which client app will be used, see rtweet_client() for details.

token

Expert use only. Use this to invalidate a specific bearer token created with rtweet_app(). If NULL the default authentication mechanism is invalidated.

Note

Not tested!

References

https://developer.twitter.com/en/docs/authentication/api-reference/invalidate_bearer_token https://developer.twitter.com/en/docs/authentication/api-reference/invalidate_access_token


rtweet documentation built on Oct. 17, 2023, 1:11 a.m.