Authenticate with PROOF API
Details
We strongly recommend to not supply password
as plain text like
proof_authenticate(username = "jane", password = "mypassword")
, but rather
pull in your password from an environment variable stored outside of R like
proof_authenticate(username = "jane", password = Sys.getenv("HUTCH_PWD"))
Timeout
If the PROOF API is unavailable, this function will timeout after
5 seconds. Contact the package maintainer if you get a timeout error.
See proof_timeout()
.