opal.token_datashield_create | R Documentation |
Create a personal access token for Datashield usage. Like for the other token functions, this operation requires the user to authenticate with username/password credentials.
opal.token_datashield_create(opal, name, projects = NULL)
opal |
Opal object. |
name |
Name of the token |
projects |
Vector of project names, to which the token applies. Default is NULL (all projects). |
The token value.
Other token functions:
opal.token()
,
opal.token_delete()
,
opal.token_r_create()
,
opal.token_renew()
,
opal.token_sql_create()
,
opal.tokens()
## Not run:
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
token <- opal.token_datashield_create(o, 'ds-1')
opal.logout(o)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.