R/redisAUTH.R

#'@title Authenticate to the server
#'@export
redisAuth <- function( password, Rc = NULL) {
	if (is.null(Rc)) Rc <- getOption("Rhiredis.connect")
	cmd <- "AUTH"
	redisCommand(Rc, cmd, list(password))
}
wush978/Rhiredis documentation built on May 4, 2019, 12:01 p.m.