obm_auth: Auth Function

Description Usage Arguments Examples

Description

This function allows you to connect to and OBM server.

Usage

1
2
3
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 OAuth2 scopes scecified in the server DEFAULTS are: get_form_data get_form_list get_profile get_data get_history

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

1
2
obm_auth()
token <- obm_auth('[email protected]','abc123')

OpenBioMaps/obm.r documentation built on Feb. 14, 2020, 8:18 a.m.