R/utils.R
auth_basic.Rd
Combine usernames with passwords with colons, and generate base64-encoded strings to be used for user authentication.
auth_basic(user, password)
A vector of usernames.
A vector of passwords.
A character vector of encoded credentials.
servr::auth_basic("foo", "B@R") #> [1] "Basic Zm9vOkJAUg=="