set_username_and_password {rockx} | R Documentation |
Set Username, Password, and Server URL for API Authentication
Description
This function sets the environment variables ROCKX_USERNAME
, ROCKX_PASSWORD
, and ROCKX_SERVER_URL
for authentication and specifying the ODK-X Sync Endpoint.
Usage
set_username_and_password(username, password, server_url)
Arguments
username |
A character string containing the API username. |
password |
A character string containing the API password. |
server_url |
A character string containing the URL of the ODK-X sync endpoint (e.g., "https://my.sync-endpoint.com"). |
Value
A message confirming that credentials and server URL have been set.
Examples
rockx::set_username_and_password("my_user", "my_password", "https://my.sync-endpoint.com")
[Package rockx version 0.1.0 Index]