auth
Description
Authenticate the connection using a password. Warning: The password is sent in plain-text over the network.
使用PASSWORD验证链接。警告:PASSWD以明码的形式在网络中传输。
Parameters
STRING: password
Return value
BOOL: TRUE
if the connection is authenticated, FALSE
otherwise.
Example
$redis->auth('foobared');