authenticate_envirodata() connects users with the EnviroData tenant associated with their supplied login credentials. The function makes API calls to validate the user's credentials and fetch a personal access token for their EnviroData session.

authenticate_envirodata(username, password)

Arguments

username

A character string representing a valid EnviroData username.

password

A character string representing the password for the given username.

Value

The personal access token created for the EnviroData session.

Examples

username <- XXXXX
password <- YYYYY

authenticate_username(username = username,
                      password = password)