get_osf_pat: Retreive Proper OSF PAT from System Environment

Description Usage Arguments

View source: R/authentication.R

Description

This function is a replacement for osfr::login() and will properly assign OSF_PAT to the system environment. This is required to make connection with the account on OSF.

Usage

1

Arguments

pat

Personal Access Token (PAT) - Create a PAT at https://osf.io/settings/tokens/ if no token is given an error is thrown.


AGRBDCenter/aghelpr2 documentation built on May 17, 2019, 7:31 p.m.