ba_login: ba_login

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/ba_login.R

Description

Login into a brapi compatible database.

Usage

1
ba_login(con)

Arguments

con

list, brapi connection object

Details

Caches a session token and informs of success or failure.

Value

The list object of class 'brapi_con' with the authentication token filled.

Note

Tested against: BMS, sweetpotatobase

BrAPI Version: 1.0, 1.1, 1.2

BrAPI Status: active

Author(s)

Reinhard Simon, Maikel Verouden

References

github

See Also

Other brapiutils: as.ba_db, ba_can_internet, ba_check, ba_connect, ba_db, ba_logout, is.ba_con, print.ba_con, print.ba_db_list

Examples

1
2
3
4
5
6
7
8
if (interactive()) {
  library(brapi)

  con <- ba_db()$testserver

  #con <- ba_login(con)

}

c5sire/brapi documentation built on Oct. 17, 2019, 11:45 a.m.