obm_auth: Auth Function

obm_authR Documentation

Auth Function

Description

This function allows you to connect to and OBM server.

Usage

obm_auth(
  username = "",
  password = "",
  scope = OBM$scope,
  client_id = OBM$client_id,
  url = OBM$token_url,
  verbose = F,
  paranoid = T
)

Arguments

username

Your OBM username (email)

password

Your password

scope

vector for OAuth2 scopes

client_id

Default is R

url

OAuth2 token url obm_init() provide it

verbose

print some messages

paranoid

hide password while typing (on Linux)

Examples

obm_auth()
token <- obm_auth('foo@google.com','abc123')

OpenBioMaps/obm.r documentation built on Feb. 22, 2023, 5:47 p.m.