Skip to contents

Stores the token in session memory. Optionally also stores it in the system keyring (requires the keyring package).

Usage

set_unitcm_token(token, keyring = FALSE)

Arguments

token

A character string. The bearer token.

keyring

Logical. If TRUE, also store in system keyring.

Value

Invisible NULL.

Examples

if (FALSE) { # \dontrun{
set_unitcm_token("my-secret-token")
} # }