.get_synapse_token {genieBPC} | R 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)
[Package genieBPC version 2.0.1 Index]