summaryrefslogtreecommitdiff
path: root/test/config/storage.json
blob: c3dc3871a3e972ce7b444628456833198c1c3505 (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
44
45
46
47
{
    "authorization_codes": {
        "testcode": {
            "client_id": "Test Client ID",
            "user_id": "",
            "redirect_uri": "",
            "expires": "9999999999",
            "scope": ""
        }
    },
    "client_credentials" : {
        "Test Client ID": {
            "secret": "TestSecret"
        }
    },
    "user_credentials" : {
        "test-username": "testpass"
    },
    "refresh_tokens" : {
        "test-refreshtoken": {
            "refresh_token": "test-refreshtoken",
            "client_id": "Test Client ID",
            "user_id": "test-username",
            "expires": 99999999900,
            "scope": null
        }
    },
    "access_tokens" : {
        "accesstoken-expired": {
            "access_token": "accesstoken-expired",
            "client_id": "Test Client ID",
            "expires": 1234567,
            "scope": null
        },
        "accesstoken-scope": {
            "access_token": "accesstoken-scope",
            "client_id": "Test Client ID",
            "expires": 99999999900,
            "scope": "testscope"
        },
        "accesstoken-malformed": {
            "access_token": "accesstoken-mallformed",
            "expires": 99999999900,
            "scope": "testscope"
        }
    }
}