powered by
Create a personal access token for SQL usage. Like for the other token functions, this operation requires the user to authenticate with username/password credentials.
opal.token_sql_create(opal, name, projects = NULL)
The token value.
Opal object.
Name of the token
Vector of project names, to which the token applies. Default is NULL (all projects).
Other token functions: opal.token(), opal.token_datashield_create(), opal.token_delete(), opal.token_r_create(), opal.token_renew(), opal.tokens()
opal.token()
opal.token_datashield_create()
opal.token_delete()
opal.token_r_create()
opal.token_renew()
opal.tokens()
if (FALSE) { o <- opal.login('administrator','password', url='https://opal-demo.obiba.org') token <- opal.token_sql_create(o, 'sql-1') opal.logout(o) }
Run the code above in your browser using DataLab