login_gigwa | R Documentation |
Connect to the GIGWA server. If the 'username' or 'password' parameters are missing, a login window will be triggered to capture these details.
All connection settings (server URL, port, API path, and protocol) are read from the 'qbms_config' list. The function will request an authentication token from the server and update the 'qbms_state' list with the token.
login_gigwa(username = NULL, password = NULL)
username |
The GIGWA username (optional, default is NULL). |
password |
The GIGWA password (optional, default is NULL). |
No return value. The authentication token will be stored internally.
Khaled Al-Shamaa, k.el-shamaa@cgiar.org
if (interactive()) {
set_qbms_config("http://localhost:59395/gigwa/index.jsp", time_out = 300, engine = "gigwa")
# Login using your GIGWA account (interactive mode)
login_gigwa()
# You can pass GIGWA username and password as parameters (batch mode)
# login_gigwa("gigwadmin", "nimda")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.