File: invalidate_bearer.Rd

package info (click to toggle)
r-cran-rtweet 2.0.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 18,068 kB
  • sloc: sh: 13; makefile: 2
file content (27 lines) | stat: -rw-r--r-- 1,024 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bearer_token.R
\name{invalidate_bearer}
\alias{invalidate_bearer}
\title{Invalidate bearer token}
\usage{
invalidate_bearer(api_key, api_secret, client = NULL, token = NULL)
}
\arguments{
\item{api_key, api_secret}{API key and secret. Deprecated in favor of \verb{client_*} arguments.}

\item{client}{Which client app will be used, see \code{\link[=rtweet_client]{rtweet_client()}} for details.}

\item{token}{Expert use only. Use this to invalidate a specific bearer token
created with \code{\link[=rtweet_app]{rtweet_app()}}. If \code{NULL} the default authentication mechanism is invalidated.}
}
\description{
Invalidate the bearer token automatically if you know the API key and API secret.
}
\note{
Not tested!
}
\references{
\url{https://developer.twitter.com/en/docs/authentication/api-reference/invalidate_bearer_token}
\url{https://developer.twitter.com/en/docs/authentication/api-reference/invalidate_access_token}
}
\keyword{internal}