Authenticate to the server.
Parameters:
must match the password specified in the requirepass directive in the configuration file
requirepass
Returns:
OK
62 63 64 65 66
# File 'lib/redis.rb', line 62 def auth(password) synchronize do |client| client.call([:auth, password]) end end