.get_synapse_token | R Documentation |
Retrieve a synapse token using username and password
.get_synapse_token(username = NULL, password = NULL, pat = NULL)
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". |
a 'Synapse' token. Will first look for PAT and return that if successful HTTP call, else will try with username and password
## Not run:
.get_synapse_token(username = "test", password = "test")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.