Create connection parameters
Usage
create_connection_params(
identityurl = "http://localhost:50333/identity/connect/token",
username = "administrator",
password = "administrator",
apihosturl = "http://localhost:50034/unifi/v1",
install = TRUE,
verbose = TRUE
)
Arguments
- identityurl
The
url
to connect to the UNIFI API identity server.- username
The
username
to connect to the UNIFI API identity server.- password
The
password
to connect to the UNIFI API identity server.- apihosturl
The
url
to connect to the UNIFI API server (host).- install
if TRUE, will install the token in your
.Renviron
file for use in future sessions. Defaults to TRUE.- verbose
if TRUE, will print messages. Defaults to TRUE.
Value
A list containing all parameters needed for the connection, in a connection_params
object.