Helper for authentication.

hs_auth(set_header = FALSE)

Value

A Token if set_header = FALSE, otherwise an access token set in global config to be included in all requests.