wercker_get_token: Get wercker token

Description Usage Details See Also Examples

View source: R/authentication.R

Description

wercker_get_token obtains the user's wercker authentication token.

Usage

1

Details

This function looks for the token in the following places (in order):

  1. Value of wercker_token variable in .wercker environment (this is where the package caches the token).

  2. Value of WERCKER_TOKEN environmental variable.

  3. Contents of ~/.wercker/token file.

See Also

Other authentication functions: wercker_set_token, wercker_test_token

Examples

1
2
3
4
## Not run: 
wercker_get_token()

## End(Not run)

rundel/wercker documentation built on Sept. 16, 2019, 7:02 a.m.