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 June 2, 2025, 11:36 a.m.