Skip to contents

Uses improved authentication from hfutils to obtain a valid JWT token for API requests.

Usage

flowfabric_get_token(force_refresh = FALSE)

Arguments

force_refresh

Will always refresh the token if TRUE

Value

A character string containing the JWT Bearer token

Examples

if (FALSE) { # \dontrun{
token <- flowfabric_get_token()
} # }