Description Usage Arguments Value Note
View source: R/DatabaseInteractionFunctions.R
get (via a http POST request) your user authentication token from the database
1 | getUserAuthToken(url, username, password)
|
url |
check the database_info variable. for configured organisms, you can find this under database_info$organism$token_auth |
username |
a valid username for the database. If you don't have one, then you'll need to ask for one to be created |
password |
password associated with your username |
the auth token associated with the username and password
do not save your auth token in a public repository. For example, you might put it in your .Renviron and then make sure that your .Renviron is in your .gitignore. Otherwise, save it outside of a github tracked directory or otherwise ensure that it will not be pushed up to github
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.