convert_token_to_envvar {rtoot} | R Documentation |
Convert token to environment variable
Description
Convert token to environment variable
Usage
convert_token_to_envvar(token, clipboard = TRUE, verbose = TRUE)
Arguments
token |
bearer token, either public or user level |
clipboard |
logical, whether to export the token to the clipboard |
verbose |
logical whether to display messages |
Value
Token (in environment variable format), invisibily
Examples
## Not run:
x <- auth_setup("mastodon.social", "public")
envvar <- convert_token_to_envvar(x)
envvar
## End(Not run)
[Package rtoot version 0.3.4 Index]