auth: Authorize with GitHub.

View source: R/auth.R

authR Documentation

Authorize with GitHub.

Description

This function is run automatically to allow gistr to access your GitHub account.

Usage

auth(app = ro_app, reauth = FALSE)

Arguments

app

An oauth_app for GitHub.

reauth

(logical) Force re-authorization?

Details

There are two ways to authorise gistr to work with your GitHub account:

Using GITHUB_PAT is recommended.

Examples

## Not run: 
auth()
auth(reauth = TRUE)

## End(Not run)

ropensci/ro documentation built on May 18, 2022, 6:43 p.m.