authRemote: Log on to a remote file service

Description Usage Arguments Details

View source: R/authRemote.R

Description

Uses authentication information in the ~/.vizlab driectory to log onto a remote file service such as ScienceBase. This function is primarily for internal use but can be called directly to check credentials.

Usage

1
2
3
4
5
6
7
authRemote(fetcher, ...)

## Default S3 method:
authRemote(fetcher, user = "local", ...)

## S3 method for class 'sciencebase'
authRemote(fetcher, user, ...)

Arguments

fetcher

the name of the fetcher for which to authenticate, e.g., 'sciencebase'

...

other arguments passed to authRemote methods

user

not yet well thought out, but the idea is to accept 'local' or 'docker' and use the corresponding user profile to authenticate

Details

To add ScienceBase credentials, run the storeSBcreds function.


USGS-VIZLAB/vizlab documentation built on July 10, 2019, 12:08 a.m.