DSLoginBuilder {DSI} | R Documentation |
DataSHIELD login details builder
DataSHIELD login details builder
A R6 object of class DSLoginBuilder
Helper class for creating a valid data frame that can be used to perform datashield.login
.
See also newDSLoginBuilder.
new()
Create a new DSLoginBuilder instance.
DSLoginBuilder$new(logins = NULL, .silent = FALSE)
logins
A valid login details data frame to initiate the builder, optional.
.silent
Do not warn user when non secure HTTP urls are encountered. Default is FALSE.
A DSLoginBuilder object.
append()
Append login information for a specific server.
DSLoginBuilder$append( server, url, table = "", resource = "", driver = "OpalDriver", user = "", password = "", token = "", options = "", profile = "" )
server
The server name (must be unique).
url
The url to connect to the server or a R symbol name.
table
The table path that identifies the dataset in the server.
resource
The resource path that identifies the resource reference in the server.
driver
The DSDriver-class
name to build the DSConnection-class
.
user
The user name in the user credentials.
password
The user password in the user credentials.
token
The personal access token (ignored when user credentials are not empty).
options
Any options (R code to be parsed) that could be relevant for the DS connection object.
profile
The DataSHIELD R server profile (affects the R packages available and the applied configuration). If not provided or not supported, default profile will be applied.
build()
Build the DSLoginBuilder instance.
DSLoginBuilder$build()
The DataSHIELD logindata data.frame
clone()
The objects of this class are cloneable with this method.
DSLoginBuilder$clone(deep = FALSE)
deep
Whether to make a deep clone.