forked from taskcluster/taskcluster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtestcases.json
102 lines (102 loc) · 3.79 KB
/
testcases.json
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[
{
"description": "Unnamed Temp Creds with no Authorized Scopes",
"expectedTempCreds": {
"accessToken": "R4OVHWpIvy6KsqS4AWE51QwbvgLvsstS6e6UW8IfHUY",
"authorizedScopes": null,
"certificate": "{\"version\":1,\"scopes\":[\"scope/asd:fhjdf/X\",\"scope/asd:fhjdf/XYZ*\"],\"start\":1438964811744,\"expiry\":1439051211744,\"seed\":\"JYR4wzMCTG6XeDS2cDUCMwH0RFUXGfQjK7LgqD-e6lSQ\",\"signature\":\"45AlB/hKZZZz4Tf3NaidutasfgBnr4t2AxwBiGDQF9Q=\"}",
"clientId": "def/ghi@XXX"
},
"expiry": "2015-08-08T16:26:51.744Z",
"permCreds": {
"accessToken": "tokenABCDEFGH",
"authorizedScopes": null,
"certificate": "",
"clientId": "def/ghi@XXX"
},
"seed": "JYR4wzMCTG6XeDS2cDUCMwH0RFUXGfQjK7LgqD-e6lSQ",
"start": "2015-08-07T16:26:51.744Z",
"tempCredsName": "",
"tempCredsScopes": [
"scope/asd:fhjdf/X",
"scope/asd:fhjdf/XYZ*"
]
},
{
"description": "Named Temp Creds with no Authorized Scopes",
"expectedTempCreds": {
"accessToken": "R4OVHWpIvy6KsqS4AWE51QwbvgLvsstS6e6UW8IfHUY",
"authorizedScopes": null,
"certificate": "{\"version\":1,\"scopes\":[\"scope/asd:fhjdf/X\",\"scope/asd:fhjdf/XYZ*\"],\"start\":1438964811744,\"expiry\":1439051211744,\"seed\":\"JYR4wzMCTG6XeDS2cDUCMwH0RFUXGfQjK7LgqD-e6lSQ\",\"signature\":\"nNEaLtZMiw627NuDbF5Z8HDFc57MGWCptXBQSYNFgBk=\",\"issuer\":\"def/ghi@XXX\"}",
"clientId": "abc/def/ghi"
},
"expiry": "2015-08-08T16:26:51.744Z",
"permCreds": {
"accessToken": "tokenABCDEFGH",
"authorizedScopes": null,
"certificate": "",
"clientId": "def/ghi@XXX"
},
"seed": "JYR4wzMCTG6XeDS2cDUCMwH0RFUXGfQjK7LgqD-e6lSQ",
"start": "2015-08-07T16:26:51.744Z",
"tempCredsName": "abc/def/ghi",
"tempCredsScopes": [
"scope/asd:fhjdf/X",
"scope/asd:fhjdf/XYZ*"
]
},
{
"description": "Unnamed Temp Creds with Authorized Scopes",
"expectedTempCreds": {
"accessToken": "R4OVHWpIvy6KsqS4AWE51QwbvgLvsstS6e6UW8IfHUY",
"authorizedScopes": [
"scope/asd:fhjdf/X"
],
"certificate": "{\"version\":1,\"scopes\":[\"scope/asd:fhjdf/X\",\"scope/asd:fhjdf/XYZ*\"],\"start\":1438964811744,\"expiry\":1439051211744,\"seed\":\"JYR4wzMCTG6XeDS2cDUCMwH0RFUXGfQjK7LgqD-e6lSQ\",\"signature\":\"45AlB/hKZZZz4Tf3NaidutasfgBnr4t2AxwBiGDQF9Q=\"}",
"clientId": "def/ghi@XXX"
},
"expiry": "2015-08-08T16:26:51.744Z",
"permCreds": {
"accessToken": "tokenABCDEFGH",
"authorizedScopes": [
"scope/asd:fhjdf/X"
],
"certificate": "",
"clientId": "def/ghi@XXX"
},
"seed": "JYR4wzMCTG6XeDS2cDUCMwH0RFUXGfQjK7LgqD-e6lSQ",
"start": "2015-08-07T16:26:51.744Z",
"tempCredsName": "",
"tempCredsScopes": [
"scope/asd:fhjdf/X",
"scope/asd:fhjdf/XYZ*"
]
},
{
"description": "Named Temp Creds with Authorized Scopes",
"expectedTempCreds": {
"accessToken": "R4OVHWpIvy6KsqS4AWE51QwbvgLvsstS6e6UW8IfHUY",
"authorizedScopes": [
"scope/asd:fhjdf/X"
],
"certificate": "{\"version\":1,\"scopes\":[\"scope/asd:fhjdf/X\",\"scope/asd:fhjdf/XYZ*\"],\"start\":1438964811744,\"expiry\":1439051211744,\"seed\":\"JYR4wzMCTG6XeDS2cDUCMwH0RFUXGfQjK7LgqD-e6lSQ\",\"signature\":\"nNEaLtZMiw627NuDbF5Z8HDFc57MGWCptXBQSYNFgBk=\",\"issuer\":\"def/ghi@XXX\"}",
"clientId": "abc/def/ghi"
},
"expiry": "2015-08-08T16:26:51.744Z",
"permCreds": {
"accessToken": "tokenABCDEFGH",
"authorizedScopes": [
"scope/asd:fhjdf/X"
],
"certificate": "",
"clientId": "def/ghi@XXX"
},
"seed": "JYR4wzMCTG6XeDS2cDUCMwH0RFUXGfQjK7LgqD-e6lSQ",
"start": "2015-08-07T16:26:51.744Z",
"tempCredsName": "abc/def/ghi",
"tempCredsScopes": [
"scope/asd:fhjdf/X",
"scope/asd:fhjdf/XYZ*"
]
}
]