Learn R Programming

opalr (version 3.4.2)

opal.token_datashield_create: Create a personal access token for Datashield usage

Description

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.

Usage

opal.token_datashield_create(opal, name, projects = NULL)

Value

The token value.

Arguments

opal

Opal object.

name

Name of the token

projects

Vector of project names, to which the token applies. Default is NULL (all projects).

See Also

Other token functions: opal.token(), opal.token_delete(), opal.token_r_create(), opal.token_renew(), opal.token_sql_create(), opal.tokens()

Examples

Run this code
if (FALSE) {
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
token <- opal.token_datashield_create(o, 'ds-1')
opal.logout(o)
}

Run the code above in your browser using DataLab