create_token: get a bearer token for the mastodon api

View source: R/auth.R

create_tokenR Documentation

get a bearer token for the mastodon api

Description

get a bearer token for the mastodon api

Usage

create_token(client, type = "public", browser = TRUE)

Arguments

client

rtoot client object created with get_client

type

one of "public" or "user". See details

browser

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

Details

TBA

Value

a mastodon bearer token

References

https://docs.joinmastodon.org/client/authorized/


rtoot documentation built on May 29, 2024, 2:14 a.m.