## ----include = FALSE---------------------------------------------------------- knitr::opts_chunk$set( collapse = TRUE, comment = "#>", eval = FALSE ) ## ----------------------------------------------------------------------------- # library(egnyte) # # eg_auth( # domain = "your-company", # api_key = "your-api-key" # ) ## ----------------------------------------------------------------------------- # library(egnyte) # # eg_oauth_app( # domain = "your-company", # client_id = "your-client-id", # client_secret = "your-client-secret" # ) ## ----------------------------------------------------------------------------- # eg_oauth_authorize() ## ----------------------------------------------------------------------------- # eg_oauth_refresh() ## ----------------------------------------------------------------------------- # library(egnyte) # # eg_oauth_app( # domain = "your-company", # client_id = "your-client-id", # client_secret = "your-client-secret" # ) ## ----------------------------------------------------------------------------- # eg_oauth_password( # username = "your-username", # password = "your-password" # ) ## ----------------------------------------------------------------------------- # # With environment variables set, just call: # eg_oauth_password()