AUTH - 认证命令

Request/Response
Redis 身份验证命令,用于验证客户端连接的凭据。Redis 服务器可以配置密码保护,客户端需要通过 AUTH 命令提供正确密码才能执行其他操作。

Basic Info

Mode
Request/Response
Endianness
big-endian
Charset
utf8
Newline
default

Communicator

Connection Name
默认服务器

Request Parameter

Format
raw
Escape
No
Newline Style
CRLF
Charset
utf8
Text Template raw
*3
$4
AUTH
${{username.length}}
{{username}}
${{password.length}}
{{password}}

Template Variables

username
Redis 服务器配置的账号 user_002
password
Redis 服务器配置的密码 pass_002

Response Parser

Format
raw
Line Wrapping
Yes
Append Newline
No
Show Timestamp
No
Clear on Execute
Yes
Scroll to Bottom
Yes

Examples

成功
+OK