get a bearer token for the mastodon api
create_token(client, type = "public", browser = TRUE)
a mastodon bearer token
rtoot client object created with get_client
one of "public" or "user". See details
if TRUE
(default) a browser window will be opened to authenticate, else the URL will be provided so you can copy/paste this into the browser yourself
TBA
https://docs.joinmastodon.org/client/authorized/