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-io/rcrunch documentation built on April 1, 2024, 1:14 a.m.