get_access_cred: Get and set access credentials

Description Usage Arguments Value API console

View source: R/auth.R

Description

Since the majority of bigquery API requests need to be authenticated bigrquery maintains package-wide OAuth authentication credentials in a private environment. In ordinary operation, you should never need to use these functions but they are provided in case you want to switch credentials mid-stream. You may can use set_service_token for non-interactive authentication.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11

Arguments

value

new access credentials, as returned by httr::oauth2.0_token()

app

A Google OAuth application created using oauth_app

service_token

A JSON string, URL or file, giving or pointing to the service token file.

Value

get_access_cred() OAuth2 credentials token

has_access_cred() TRUE if credentials are set

API console

To manage your google projects, use the API console: https://console.cloud.google.com/


bigrquery documentation built on April 25, 2018, 1:04 a.m.