-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathappsettings.json
76 lines (71 loc) · 1.52 KB
/
appsettings.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
{
"ApiScopes": [
{
"Name": "IdentityServerApi"
},
{
"Name": "resource1.scope1"
},
{
"Name": "resource2.scope1"
},
{
"Name": "scope3"
},
{
"Name": "shared.scope"
},
{
"Name": "transaction",
"DisplayName": "Transaction",
"Description": "A transaction"
}
],
"ApiResources": [
{
"Name": "resource1",
"DisplayName": "Resource #1",
"Scopes": [
"resource1.scope1",
"shared.scope"
]
},
{
"Name": "resource2",
"DisplayName": "Resource #2",
"UserClaims": [
"name",
"email"
],
"Scopes": [
"resource2.scope1",
"shared.scope"
]
}
],
"Clients": [
{
"ClientId": "machine_client",
"ClientSecrets": [ { "Value": "K7gNU3sdo+OL0wNhqoVWhr3g6s1xYv72ol/pe/Unols=" } ],
"AllowedGrantTypes": [ "client_credentials" ],
"AllowedScopes": [ "resource1.scope1", "resource1.scope2" ],
"Properties": { "foo": "bar" },
"Claims": [
{
"type": "c1",
"value": "c1value"
},
{
"type": "c2",
"value": "c2value"
}
]
},
{
"ClientId": "interactive_client",
"ClientSecrets": [ { "Value": "K7gNU3sdo+OL0wNhqoVWhr3g6s1xYv72ol/pe/Unols=" } ],
"AllowedGrantTypes": [ "authorization_code", "client_credentials" ],
"AllowedScopes": [ "openid", "profile", "resource1.scope1", "resource1.scope2" ]
}
]
}