## ----setup, include = FALSE---------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  eval = FALSE,
  comment = "#>"
)

## -----------------------------------------------------------------------------
#  myTarAuth(login = "my_test_client",
#            token_path = "mt_tokens")

## -----------------------------------------------------------------------------
#  myTargetAuth <- myTarAuth(grant_type = "client_credentials",
#                            client_id = "XXXXXXXXXX",
#                            client_secret = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
#  			  code_grant = FALSE)		

## -----------------------------------------------------------------------------
#  myTarGetAuth <- myTarAuth(grant_type = "agency_client_credentials",
#                            client_id = "XXXXXXXXXX",
#                            client_secret = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
#                            agency_client_name = "xxxxxxxxx@agency_client",
#  			  code_grant = FALSE)

