get_token: Search for authorization token or prompt for it.

Description Usage Arguments See Also

Description

get_token searches for the environment variable MSBWAITER_TOKEN. If not set, it prompts the user for an authorization token. If the session is not interactive, the function will throw an error.

Usage

1
get_token(overwrite = FALSE)

Arguments

overwrite

A logical. Should we prompt if token exists? Usual use by other functions calls for the default behaviour overwrite = FALSE.

See Also

Sys.setenv


UCSF-MSLAB/msbwaiter documentation built on May 9, 2019, 5:19 p.m.