ct_token: Retrieve Citi Access Token

Description Usage Arguments Details Value Examples

View source: R/ct_token.R

Description

ct_auth2 Access token

Usage

1
2
ct_token(client_id = Sys.getenv("CT_CLIENT_ID"),
  client_secret = Sys.getenv("CT_CLIENT_SECRET"))

Arguments

client_secret

is a string

clinet_id

is a string

Details

For 2-legged authentication with the Citi API. Returns the access token to be in all subsequent calls.

Value

character string access token

Examples

1
2
3
4
5
6
ct_token()

## Not run: 
sum("a")

## End(Not run)

bill-ash/citiR documentation built on Nov. 14, 2019, 12:12 a.m.