authenticate_sb: Authenticate to SB for subsequent calls

View source: R/authenticate_sb.R

authenticate_sbR Documentation

Authenticate to SB for subsequent calls

Description

This connects to SB, authenticates and gets a session token for communicating with SB. If you do not supply a username or password, you will be prompted to enter them.

Usage

authenticate_sb(username, password)

Arguments

username

Sciencebase username

password

Sciencebase password, prompts user if not supplied and no password is returned by 'keyring::key_get("sciencebase", username)'. See keyring-package documentation for more details.


USGS-R/sbtools documentation built on Feb. 21, 2024, 10:15 a.m.