summaryrefslogtreecommitdiffstats
path: root/src/commands/auth.json
blob: ff5e4b28513232fda7973c71f9edcc3b0265e69e (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
{
    "AUTH": {
        "summary": "Authenticate to the server",
        "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"
        ],
        "arguments": [
            {
                "name": "username",
                "type": "string",
                "optional": true,
                "since": "6.0.0"
            },
            {
                "name": "password",
                "type": "string"
            }
        ]
    }
}