mermaid_token: Produce MERMAID token

View source: R/mermaid_auth.R

mermaid_tokenR Documentation

Produce MERMAID token

Description

If token is not already available, call mermaid_auth to either load from cache or initiate OAuth2.0 flow. Return the token – not "bare" but, rather, prepared for inclusion in downstream requests.

Usage

mermaid_token(verbose = FALSE)

Arguments

verbose

logical; do you want informative messages?

Value

a request object (an S3 class provided by httr)


data-mermaid/mermaidr documentation built on Jan. 26, 2025, 12:29 p.m.