dot-get_synapse_token: Retrieve a synapse token using username and password

.get_synapse_tokenR Documentation

Retrieve a synapse token using username and password

Description

Retrieve a synapse token using username and password

Usage

.get_synapse_token(username = NULL, password = NULL, pat = NULL)

Arguments

username

'Synapse' username. If NULL, package will search package environment for "username".

password

'Synapse' password. If NULL, package will search package environment for "password".

pat

'Synapse' Personal Access Token. If NULL, package will search package environment for "pat".

Value

a 'Synapse' token. Will first look for PAT and return that if successful HTTP call, else will try with username and password

Examples

## Not run: 
.get_synapse_token(username = "test", password = "test")

## End(Not run)

genieBPC documentation built on Sept. 11, 2024, 8:29 p.m.