auth: Set creds for Datasource

View source: R/auth.R

authR Documentation

Set creds for Datasource

Description

Sets creds for the Datasource by storing it in an environment variable for the current R session. This token will be used by other functions in the package to authenticate API requests.

Usage

auth(src = "Moex", login, password)

Arguments

src

datasource name.

login

login of datasource

password

password of datasource

Value

Invisible NULL, side-effect function setting an environment variable.

Examples

## Not run: 
  auth(login = "user@email.com",password = "mypassword")

## End(Not run)

rusquant documentation built on Sept. 30, 2024, 9:42 a.m.

Related to auth in rusquant...