summaryrefslogtreecommitdiffstats
path: root/src/commands/auth.json
blob: 3b1ba354304d09cf93abb01eeef8bc10d1a0fbd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
    "AUTH": {
        "summary": "Authenticates the connection.",
        "complexity": "O(N) where N is the number of passwords defined for the user",
        "group": "connection",
        "since": "1.0.0",
        "arity": -2,
        "function": "authCommand",
        "history": [
            [
                "6.0.0",
                "Added ACL style (username and password)."
            ]
        ],
        "command_flags": [
            "NOSCRIPT",
            "LOADING",
            "STALE",
            "FAST",
            "NO_AUTH",
            "SENTINEL",
            "ALLOW_BUSY"
        ],
        "acl_categories": [
            "CONNECTION"
        ],
        "reply_schema": {
            "const": "OK"
        },
        "arguments": [
            {
                "name": "username",
                "type": "string",
                "optional": true,
                "since": "6.0.0"
            },
            {
                "name": "password",
                "type": "string"
            }
        ]
    }
}