get_token: Opens web browser to copy the auth token

Description Usage Arguments Value Examples

View source: R/api-misc.R

Description

Click the "Generate Token" or "Regenerate" button, copy and paste the authentication token string to the R console. The function will return the token string.

Usage

1
2
3
get_token(platform = c("cgc", "aws-us", "aws-eu", "gcp", "cavatica"))

misc_get_token()

Arguments

platform

The Seven Bridges platform to use.

Value

auth token

Examples

1
2
3
token <- NULL
# Will be prompted to enter the auth token
## Not run: token = get_token(platform = "cgc")

sbg/sevenbridges-r documentation built on March 26, 2021, 3:33 p.m.