tokenAuth: Add an auth token manually

View source: R/auth.R

tokenAuthR Documentation

Add an auth token manually

Description

Set the auth token with a token you provide. Also modify the user-agent to include the service this is coming from.

Usage

tokenAuth(token, ua = NULL, source = "tokenAuth")

Arguments

token

character auth token

ua

character optional string to add to the User-Agent request header

Value

Nothing; called for its side effects.


crunch documentation built on May 29, 2024, 5:03 a.m.