@digipair/skill-keycloak 0.25.6 → 0.26.0
Sign up to get free protection for your applications and to get access to all the features.
- package/index.cjs.js +5 -5
- package/index.esm.js +5 -5
- package/package.json +1 -1
- package/schema.fr.json +358 -0
- package/schema.json +61 -61
package/index.cjs.js
CHANGED
@@ -23523,14 +23523,14 @@ function indent(str, spaces) {
|
|
23523
23523
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
23524
23524
|
// match is required
|
23525
23525
|
if (!match) {
|
23526
|
-
return
|
23526
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
|
23527
23527
|
v: nextMatch1
|
23528
23528
|
};
|
23529
23529
|
}
|
23530
23530
|
var token = match.token, offset = match.offset;
|
23531
23531
|
i1 += offset;
|
23532
23532
|
if (token === " ") {
|
23533
|
-
return
|
23533
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
|
23534
23534
|
}
|
23535
23535
|
tokens1 = _to_consumable_array$3(tokens1).concat([
|
23536
23536
|
token
|
@@ -23549,7 +23549,7 @@ function indent(str, spaces) {
|
|
23549
23549
|
if (contextKeys.some(function(el) {
|
23550
23550
|
return el.startsWith(name);
|
23551
23551
|
})) {
|
23552
|
-
return
|
23552
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
|
23553
23553
|
}
|
23554
23554
|
if (dateTimeIdentifiers.some(function(el) {
|
23555
23555
|
return el === name;
|
@@ -23568,9 +23568,9 @@ function indent(str, spaces) {
|
|
23568
23568
|
if (dateTimeIdentifiers.some(function(el) {
|
23569
23569
|
return el.startsWith(name);
|
23570
23570
|
})) {
|
23571
|
-
return
|
23571
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
|
23572
23572
|
}
|
23573
|
-
return
|
23573
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
|
23574
23574
|
v: nextMatch1
|
23575
23575
|
};
|
23576
23576
|
};
|
package/index.esm.js
CHANGED
@@ -23494,14 +23494,14 @@ function indent(str, spaces) {
|
|
23494
23494
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
23495
23495
|
// match is required
|
23496
23496
|
if (!match) {
|
23497
|
-
return
|
23497
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
|
23498
23498
|
v: nextMatch1
|
23499
23499
|
};
|
23500
23500
|
}
|
23501
23501
|
var token = match.token, offset = match.offset;
|
23502
23502
|
i1 += offset;
|
23503
23503
|
if (token === " ") {
|
23504
|
-
return
|
23504
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
|
23505
23505
|
}
|
23506
23506
|
tokens1 = _to_consumable_array$3(tokens1).concat([
|
23507
23507
|
token
|
@@ -23520,7 +23520,7 @@ function indent(str, spaces) {
|
|
23520
23520
|
if (contextKeys.some(function(el) {
|
23521
23521
|
return el.startsWith(name);
|
23522
23522
|
})) {
|
23523
|
-
return
|
23523
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
|
23524
23524
|
}
|
23525
23525
|
if (dateTimeIdentifiers.some(function(el) {
|
23526
23526
|
return el === name;
|
@@ -23539,9 +23539,9 @@ function indent(str, spaces) {
|
|
23539
23539
|
if (dateTimeIdentifiers.some(function(el) {
|
23540
23540
|
return el.startsWith(name);
|
23541
23541
|
})) {
|
23542
|
-
return
|
23542
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
|
23543
23543
|
}
|
23544
|
-
return
|
23544
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
|
23545
23545
|
v: nextMatch1
|
23546
23546
|
};
|
23547
23547
|
};
|
package/package.json
CHANGED
package/schema.fr.json
ADDED
@@ -0,0 +1,358 @@
|
|
1
|
+
{
|
2
|
+
"openapi": "3.0.0",
|
3
|
+
"info": {
|
4
|
+
"title": "@digipair/skill-keycloak",
|
5
|
+
"summary": "Affichage de pages web sécurisée",
|
6
|
+
"description": "Cette compétence englobe la connaissance et l'utilisation des technologies web nécessaires pour développer et maintenir des sites internet sécurisés par keycloak.",
|
7
|
+
"version": "0.1.0",
|
8
|
+
"x-icon": "🔐"
|
9
|
+
},
|
10
|
+
"paths": {
|
11
|
+
"/executeFactory": {
|
12
|
+
"post": {
|
13
|
+
"summary": "Dans la factory",
|
14
|
+
"description": "Exécution d'une liste de capacité dans la factory",
|
15
|
+
"tags": ["web"],
|
16
|
+
"metadata": [],
|
17
|
+
"parameters": [
|
18
|
+
{
|
19
|
+
"name": "execute",
|
20
|
+
"summary": "Exécuter",
|
21
|
+
"required": true,
|
22
|
+
"description": "Liste de capacité à exécuter",
|
23
|
+
"schema": {
|
24
|
+
"type": "array",
|
25
|
+
"items": {
|
26
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
27
|
+
}
|
28
|
+
}
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"name": "secured",
|
32
|
+
"summary": "Sécurisé",
|
33
|
+
"required": false,
|
34
|
+
"description": "Sécurise l'exécution via un token Keycloak",
|
35
|
+
"schema": {
|
36
|
+
"type": "boolean"
|
37
|
+
}
|
38
|
+
}
|
39
|
+
]
|
40
|
+
}
|
41
|
+
},
|
42
|
+
"/login": {
|
43
|
+
"post": {
|
44
|
+
"summary": "Identification de l'utilisateur",
|
45
|
+
"description": "Identification de l'utilisateur sur le site internet via le serveur Keycloak",
|
46
|
+
"tags": ["web"],
|
47
|
+
"metadata": [],
|
48
|
+
"parameters": []
|
49
|
+
}
|
50
|
+
},
|
51
|
+
"/logout": {
|
52
|
+
"post": {
|
53
|
+
"summary": "Désidentification de l'utilisateur",
|
54
|
+
"description": "Désidentification de l'utilisateur sur le site internet via le serveur Keycloak",
|
55
|
+
"tags": ["web"],
|
56
|
+
"metadata": [],
|
57
|
+
"parameters": []
|
58
|
+
}
|
59
|
+
}
|
60
|
+
},
|
61
|
+
"components": {
|
62
|
+
"schemas": {
|
63
|
+
"SecuredBoost": {
|
64
|
+
"type": "object",
|
65
|
+
"tags": ["boost"],
|
66
|
+
"summary": "Déclencheur sécurisé",
|
67
|
+
"properties": {
|
68
|
+
"name": {
|
69
|
+
"type": "string"
|
70
|
+
},
|
71
|
+
"prompt": {
|
72
|
+
"type": "boolean"
|
73
|
+
},
|
74
|
+
"required": {
|
75
|
+
"type": "boolean"
|
76
|
+
},
|
77
|
+
"text": {
|
78
|
+
"type": "string"
|
79
|
+
},
|
80
|
+
"selector": {
|
81
|
+
"type": "string"
|
82
|
+
},
|
83
|
+
"url": {
|
84
|
+
"type": "string"
|
85
|
+
},
|
86
|
+
"inputs": {
|
87
|
+
"type": "array",
|
88
|
+
"items": {
|
89
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
90
|
+
}
|
91
|
+
}
|
92
|
+
},
|
93
|
+
"required": []
|
94
|
+
}
|
95
|
+
}
|
96
|
+
},
|
97
|
+
"x-scene-blocks": {
|
98
|
+
"/page": {
|
99
|
+
"summary": "Page internet sécurisée",
|
100
|
+
"description": "Affichage d'une page d'un site internet sécurisée par Keycloak.",
|
101
|
+
"tags": ["web", "service"],
|
102
|
+
"metadata": [],
|
103
|
+
"parameters": [
|
104
|
+
{
|
105
|
+
"name": "body",
|
106
|
+
"summary": "Contenu",
|
107
|
+
"required": true,
|
108
|
+
"description": "Contenu de la page",
|
109
|
+
"schema": {
|
110
|
+
"type": "array",
|
111
|
+
"items": {
|
112
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
113
|
+
}
|
114
|
+
}
|
115
|
+
},
|
116
|
+
{
|
117
|
+
"name": "title",
|
118
|
+
"summary": "Titre",
|
119
|
+
"required": false,
|
120
|
+
"description": "Titre de la page",
|
121
|
+
"schema": {
|
122
|
+
"type": "string"
|
123
|
+
}
|
124
|
+
},
|
125
|
+
{
|
126
|
+
"name": "favicon",
|
127
|
+
"summary": "Icone de la page",
|
128
|
+
"required": false,
|
129
|
+
"description": "Icone de la page",
|
130
|
+
"schema": {
|
131
|
+
"type": "string"
|
132
|
+
}
|
133
|
+
},
|
134
|
+
{
|
135
|
+
"name": "styleHtml",
|
136
|
+
"summary": "Style CSS du HTML",
|
137
|
+
"required": false,
|
138
|
+
"description": "Style css de l'élément HTML",
|
139
|
+
"schema": {
|
140
|
+
"type": "string"
|
141
|
+
}
|
142
|
+
},
|
143
|
+
{
|
144
|
+
"name": "styleBody",
|
145
|
+
"summary": "Style CSS du BODY",
|
146
|
+
"required": false,
|
147
|
+
"description": "Style css de l'élément BODY",
|
148
|
+
"schema": {
|
149
|
+
"type": "string"
|
150
|
+
}
|
151
|
+
},
|
152
|
+
{
|
153
|
+
"name": "url",
|
154
|
+
"summary": "Adresse du Keycloak",
|
155
|
+
"required": false,
|
156
|
+
"description": "Adresse du serveur Keycloak",
|
157
|
+
"schema": {
|
158
|
+
"type": "string"
|
159
|
+
}
|
160
|
+
},
|
161
|
+
{
|
162
|
+
"name": "realm",
|
163
|
+
"summary": "Realm",
|
164
|
+
"required": false,
|
165
|
+
"description": "Realm du serveur Keycloak",
|
166
|
+
"schema": {
|
167
|
+
"type": "string"
|
168
|
+
}
|
169
|
+
},
|
170
|
+
{
|
171
|
+
"name": "clientId",
|
172
|
+
"summary": "Client ID",
|
173
|
+
"required": false,
|
174
|
+
"description": "Client ID du serveur Keycloak",
|
175
|
+
"schema": {
|
176
|
+
"type": "string"
|
177
|
+
}
|
178
|
+
},
|
179
|
+
{
|
180
|
+
"name": "factoryUrl",
|
181
|
+
"summary": "Adresse de la factory",
|
182
|
+
"required": false,
|
183
|
+
"description": "Adresse de la factory Digipair",
|
184
|
+
"schema": {
|
185
|
+
"type": "string"
|
186
|
+
}
|
187
|
+
},
|
188
|
+
{
|
189
|
+
"name": "factoryInitialize",
|
190
|
+
"summary": "Lors de la l'initialisation coté factory",
|
191
|
+
"required": false,
|
192
|
+
"description": "Action déclenchée lors de l'initialisation coté factory",
|
193
|
+
"schema": {
|
194
|
+
"type": "array",
|
195
|
+
"items": {
|
196
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
197
|
+
}
|
198
|
+
}
|
199
|
+
},
|
200
|
+
{
|
201
|
+
"name": "browserInitialize",
|
202
|
+
"summary": "Lors de la l'initialisation coté navigateur",
|
203
|
+
"required": false,
|
204
|
+
"description": "Action déclenchée lors de l'initialisation coté navigateur",
|
205
|
+
"schema": {
|
206
|
+
"type": "array",
|
207
|
+
"items": {
|
208
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
209
|
+
}
|
210
|
+
}
|
211
|
+
},
|
212
|
+
{
|
213
|
+
"name": "browserLoad",
|
214
|
+
"summary": "Lorsque la page est chargée",
|
215
|
+
"required": false,
|
216
|
+
"description": "Action déclenchée lorsque la page est chargée coté navigateur",
|
217
|
+
"schema": {
|
218
|
+
"type": "array",
|
219
|
+
"items": {
|
220
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
221
|
+
}
|
222
|
+
}
|
223
|
+
},
|
224
|
+
{
|
225
|
+
"name": "unlogged",
|
226
|
+
"summary": "Si l'utilisateur n'est pas identifié",
|
227
|
+
"required": false,
|
228
|
+
"description": "Action déclenchée lorsque la page est chargée coté navigateur si l'utilisateur n'est pas identifié",
|
229
|
+
"schema": {
|
230
|
+
"type": "array",
|
231
|
+
"items": {
|
232
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
233
|
+
}
|
234
|
+
}
|
235
|
+
},
|
236
|
+
{
|
237
|
+
"name": "logged",
|
238
|
+
"summary": "Si l'utilisateur est identifié",
|
239
|
+
"required": false,
|
240
|
+
"description": "Action déclenchée lorsque la page est chargée coté navigateur si l'utilisateur est identifié",
|
241
|
+
"schema": {
|
242
|
+
"type": "array",
|
243
|
+
"items": {
|
244
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
245
|
+
}
|
246
|
+
}
|
247
|
+
}
|
248
|
+
]
|
249
|
+
},
|
250
|
+
"/service": {
|
251
|
+
"summary": "Web service sécurisé",
|
252
|
+
"description": "Réponse à un appel http sécurisé par Keycloak.",
|
253
|
+
"tags": ["service"],
|
254
|
+
"metadata": [],
|
255
|
+
"parameters": [
|
256
|
+
{
|
257
|
+
"name": "execute",
|
258
|
+
"summary": "Exécute",
|
259
|
+
"required": true,
|
260
|
+
"description": "Commandes à exécuter",
|
261
|
+
"schema": {
|
262
|
+
"type": "array",
|
263
|
+
"items": {
|
264
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
265
|
+
}
|
266
|
+
}
|
267
|
+
},
|
268
|
+
{
|
269
|
+
"name": "secured",
|
270
|
+
"summary": "Sécurisé",
|
271
|
+
"required": false,
|
272
|
+
"description": "Accès autorisé seulement si un token Keycloak est fourni",
|
273
|
+
"schema": {
|
274
|
+
"type": "string"
|
275
|
+
}
|
276
|
+
},
|
277
|
+
{
|
278
|
+
"name": "url",
|
279
|
+
"summary": "Adresse du Keycloak",
|
280
|
+
"required": false,
|
281
|
+
"description": "Adresse du serveur Keycloak",
|
282
|
+
"schema": {
|
283
|
+
"type": "string"
|
284
|
+
}
|
285
|
+
},
|
286
|
+
{
|
287
|
+
"name": "realm",
|
288
|
+
"summary": "Realm",
|
289
|
+
"required": false,
|
290
|
+
"description": "Realm du serveur Keycloak",
|
291
|
+
"schema": {
|
292
|
+
"type": "string"
|
293
|
+
}
|
294
|
+
}
|
295
|
+
]
|
296
|
+
},
|
297
|
+
"/boost": {
|
298
|
+
"summary": "Boost sécurisé",
|
299
|
+
"description": "Boost proposé par le Digipair sécurisé par Keycloak",
|
300
|
+
"tags": ["boost", "service"],
|
301
|
+
"metadata": [
|
302
|
+
{
|
303
|
+
"name": "boosts",
|
304
|
+
"summary": "Liste des déclencheurs",
|
305
|
+
"required": true,
|
306
|
+
"description": "Liste des déclencheurs du boost",
|
307
|
+
"schema": {
|
308
|
+
"type": "array",
|
309
|
+
"items": {
|
310
|
+
"$ref": "#/components/schemas/SecuredBoost"
|
311
|
+
}
|
312
|
+
}
|
313
|
+
}
|
314
|
+
],
|
315
|
+
"parameters": [
|
316
|
+
{
|
317
|
+
"name": "execute",
|
318
|
+
"summary": "Exécution des actions",
|
319
|
+
"required": false,
|
320
|
+
"description": "Liste des actions à exécuter",
|
321
|
+
"schema": {
|
322
|
+
"type": "array",
|
323
|
+
"items": {
|
324
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
325
|
+
}
|
326
|
+
}
|
327
|
+
},
|
328
|
+
{
|
329
|
+
"name": "secured",
|
330
|
+
"summary": "Sécurisé",
|
331
|
+
"required": false,
|
332
|
+
"description": "Accès autorisé seulement si un token Keycloak est fourni",
|
333
|
+
"schema": {
|
334
|
+
"type": "string"
|
335
|
+
}
|
336
|
+
},
|
337
|
+
{
|
338
|
+
"name": "url",
|
339
|
+
"summary": "Adresse du Keycloak",
|
340
|
+
"required": false,
|
341
|
+
"description": "Adresse du serveur Keycloak",
|
342
|
+
"schema": {
|
343
|
+
"type": "string"
|
344
|
+
}
|
345
|
+
},
|
346
|
+
{
|
347
|
+
"name": "realm",
|
348
|
+
"summary": "Realm",
|
349
|
+
"required": false,
|
350
|
+
"description": "Realm du serveur Keycloak",
|
351
|
+
"schema": {
|
352
|
+
"type": "string"
|
353
|
+
}
|
354
|
+
}
|
355
|
+
]
|
356
|
+
}
|
357
|
+
}
|
358
|
+
}
|
package/schema.json
CHANGED
@@ -2,24 +2,24 @@
|
|
2
2
|
"openapi": "3.0.0",
|
3
3
|
"info": {
|
4
4
|
"title": "@digipair/skill-keycloak",
|
5
|
-
"summary": "
|
6
|
-
"description": "
|
5
|
+
"summary": "Display of secure web pages",
|
6
|
+
"description": "This skill encompasses the knowledge and use of web technologies necessary to develop and maintain websites secured by Keycloak.",
|
7
7
|
"version": "0.1.0",
|
8
8
|
"x-icon": "🔐"
|
9
9
|
},
|
10
10
|
"paths": {
|
11
11
|
"/executeFactory": {
|
12
12
|
"post": {
|
13
|
-
"summary": "
|
14
|
-
"description": "
|
13
|
+
"summary": "In the factory",
|
14
|
+
"description": "Execution of a list of capabilities in the factory",
|
15
15
|
"tags": ["web"],
|
16
16
|
"metadata": [],
|
17
17
|
"parameters": [
|
18
18
|
{
|
19
19
|
"name": "execute",
|
20
|
-
"summary": "
|
20
|
+
"summary": "Execute",
|
21
21
|
"required": true,
|
22
|
-
"description": "
|
22
|
+
"description": "List of capabilities to execute",
|
23
23
|
"schema": {
|
24
24
|
"type": "array",
|
25
25
|
"items": {
|
@@ -29,9 +29,9 @@
|
|
29
29
|
},
|
30
30
|
{
|
31
31
|
"name": "secured",
|
32
|
-
"summary": "
|
32
|
+
"summary": "Secured",
|
33
33
|
"required": false,
|
34
|
-
"description": "
|
34
|
+
"description": "Secures execution via a Keycloak token",
|
35
35
|
"schema": {
|
36
36
|
"type": "boolean"
|
37
37
|
}
|
@@ -41,8 +41,8 @@
|
|
41
41
|
},
|
42
42
|
"/login": {
|
43
43
|
"post": {
|
44
|
-
"summary": "
|
45
|
-
"description": "
|
44
|
+
"summary": "User authentication",
|
45
|
+
"description": "User authentication on the website via the Keycloak server",
|
46
46
|
"tags": ["web"],
|
47
47
|
"metadata": [],
|
48
48
|
"parameters": []
|
@@ -50,8 +50,8 @@
|
|
50
50
|
},
|
51
51
|
"/logout": {
|
52
52
|
"post": {
|
53
|
-
"summary": "
|
54
|
-
"description": "
|
53
|
+
"summary": "User logout",
|
54
|
+
"description": "User logout from the website via the Keycloak server",
|
55
55
|
"tags": ["web"],
|
56
56
|
"metadata": [],
|
57
57
|
"parameters": []
|
@@ -63,7 +63,7 @@
|
|
63
63
|
"SecuredBoost": {
|
64
64
|
"type": "object",
|
65
65
|
"tags": ["boost"],
|
66
|
-
"summary": "
|
66
|
+
"summary": "Secure trigger",
|
67
67
|
"properties": {
|
68
68
|
"name": {
|
69
69
|
"type": "string"
|
@@ -96,16 +96,16 @@
|
|
96
96
|
},
|
97
97
|
"x-scene-blocks": {
|
98
98
|
"/page": {
|
99
|
-
"summary": "
|
100
|
-
"description": "
|
99
|
+
"summary": "Secure web page",
|
100
|
+
"description": "Display of a web page secured by Keycloak.",
|
101
101
|
"tags": ["web", "service"],
|
102
102
|
"metadata": [],
|
103
103
|
"parameters": [
|
104
104
|
{
|
105
105
|
"name": "body",
|
106
|
-
"summary": "
|
106
|
+
"summary": "Content",
|
107
107
|
"required": true,
|
108
|
-
"description": "
|
108
|
+
"description": "Content of the page",
|
109
109
|
"schema": {
|
110
110
|
"type": "array",
|
111
111
|
"items": {
|
@@ -115,45 +115,45 @@
|
|
115
115
|
},
|
116
116
|
{
|
117
117
|
"name": "title",
|
118
|
-
"summary": "
|
118
|
+
"summary": "Title",
|
119
119
|
"required": false,
|
120
|
-
"description": "
|
120
|
+
"description": "Title of the page",
|
121
121
|
"schema": {
|
122
122
|
"type": "string"
|
123
123
|
}
|
124
124
|
},
|
125
125
|
{
|
126
126
|
"name": "favicon",
|
127
|
-
"summary": "
|
127
|
+
"summary": "Page icon",
|
128
128
|
"required": false,
|
129
|
-
"description": "
|
129
|
+
"description": "Icon of the page",
|
130
130
|
"schema": {
|
131
131
|
"type": "string"
|
132
132
|
}
|
133
133
|
},
|
134
134
|
{
|
135
135
|
"name": "styleHtml",
|
136
|
-
"summary": "
|
136
|
+
"summary": "HTML CSS style",
|
137
137
|
"required": false,
|
138
|
-
"description": "
|
138
|
+
"description": "CSS style of the HTML element",
|
139
139
|
"schema": {
|
140
140
|
"type": "string"
|
141
141
|
}
|
142
142
|
},
|
143
143
|
{
|
144
144
|
"name": "styleBody",
|
145
|
-
"summary": "
|
145
|
+
"summary": "BODY CSS style",
|
146
146
|
"required": false,
|
147
|
-
"description": "
|
147
|
+
"description": "CSS style of the BODY element",
|
148
148
|
"schema": {
|
149
149
|
"type": "string"
|
150
150
|
}
|
151
151
|
},
|
152
152
|
{
|
153
153
|
"name": "url",
|
154
|
-
"summary": "
|
154
|
+
"summary": "Keycloak address",
|
155
155
|
"required": false,
|
156
|
-
"description": "
|
156
|
+
"description": "Address of the Keycloak server",
|
157
157
|
"schema": {
|
158
158
|
"type": "string"
|
159
159
|
}
|
@@ -162,7 +162,7 @@
|
|
162
162
|
"name": "realm",
|
163
163
|
"summary": "Realm",
|
164
164
|
"required": false,
|
165
|
-
"description": "Realm
|
165
|
+
"description": "Realm of the Keycloak server",
|
166
166
|
"schema": {
|
167
167
|
"type": "string"
|
168
168
|
}
|
@@ -171,25 +171,25 @@
|
|
171
171
|
"name": "clientId",
|
172
172
|
"summary": "Client ID",
|
173
173
|
"required": false,
|
174
|
-
"description": "Client ID
|
174
|
+
"description": "Client ID of the Keycloak server",
|
175
175
|
"schema": {
|
176
176
|
"type": "string"
|
177
177
|
}
|
178
178
|
},
|
179
179
|
{
|
180
180
|
"name": "factoryUrl",
|
181
|
-
"summary": "
|
181
|
+
"summary": "Factory address",
|
182
182
|
"required": false,
|
183
|
-
"description": "
|
183
|
+
"description": "Address of the Digipair factory",
|
184
184
|
"schema": {
|
185
185
|
"type": "string"
|
186
186
|
}
|
187
187
|
},
|
188
188
|
{
|
189
189
|
"name": "factoryInitialize",
|
190
|
-
"summary": "
|
190
|
+
"summary": "During factory initialization",
|
191
191
|
"required": false,
|
192
|
-
"description": "Action
|
192
|
+
"description": "Action triggered during factory initialization",
|
193
193
|
"schema": {
|
194
194
|
"type": "array",
|
195
195
|
"items": {
|
@@ -199,9 +199,9 @@
|
|
199
199
|
},
|
200
200
|
{
|
201
201
|
"name": "browserInitialize",
|
202
|
-
"summary": "
|
202
|
+
"summary": "During browser initialization",
|
203
203
|
"required": false,
|
204
|
-
"description": "Action
|
204
|
+
"description": "Action triggered during browser initialization",
|
205
205
|
"schema": {
|
206
206
|
"type": "array",
|
207
207
|
"items": {
|
@@ -211,9 +211,9 @@
|
|
211
211
|
},
|
212
212
|
{
|
213
213
|
"name": "browserLoad",
|
214
|
-
"summary": "
|
214
|
+
"summary": "When the page is loaded",
|
215
215
|
"required": false,
|
216
|
-
"description": "Action
|
216
|
+
"description": "Action triggered when the page is loaded in the browser",
|
217
217
|
"schema": {
|
218
218
|
"type": "array",
|
219
219
|
"items": {
|
@@ -223,9 +223,9 @@
|
|
223
223
|
},
|
224
224
|
{
|
225
225
|
"name": "unlogged",
|
226
|
-
"summary": "
|
226
|
+
"summary": "If the user is not authenticated",
|
227
227
|
"required": false,
|
228
|
-
"description": "Action
|
228
|
+
"description": "Action triggered when the page is loaded in the browser if the user is not authenticated",
|
229
229
|
"schema": {
|
230
230
|
"type": "array",
|
231
231
|
"items": {
|
@@ -235,9 +235,9 @@
|
|
235
235
|
},
|
236
236
|
{
|
237
237
|
"name": "logged",
|
238
|
-
"summary": "
|
238
|
+
"summary": "If the user is authenticated",
|
239
239
|
"required": false,
|
240
|
-
"description": "Action
|
240
|
+
"description": "Action triggered when the page is loaded in the browser if the user is authenticated",
|
241
241
|
"schema": {
|
242
242
|
"type": "array",
|
243
243
|
"items": {
|
@@ -248,16 +248,16 @@
|
|
248
248
|
]
|
249
249
|
},
|
250
250
|
"/service": {
|
251
|
-
"summary": "
|
252
|
-
"description": "
|
251
|
+
"summary": "Secure web service",
|
252
|
+
"description": "Response to an HTTP call secured by Keycloak.",
|
253
253
|
"tags": ["service"],
|
254
254
|
"metadata": [],
|
255
255
|
"parameters": [
|
256
256
|
{
|
257
257
|
"name": "execute",
|
258
|
-
"summary": "
|
258
|
+
"summary": "Execute",
|
259
259
|
"required": true,
|
260
|
-
"description": "
|
260
|
+
"description": "Commands to execute",
|
261
261
|
"schema": {
|
262
262
|
"type": "array",
|
263
263
|
"items": {
|
@@ -267,18 +267,18 @@
|
|
267
267
|
},
|
268
268
|
{
|
269
269
|
"name": "secured",
|
270
|
-
"summary": "
|
270
|
+
"summary": "Secured",
|
271
271
|
"required": false,
|
272
|
-
"description": "
|
272
|
+
"description": "Access allowed only if a Keycloak token is provided",
|
273
273
|
"schema": {
|
274
274
|
"type": "string"
|
275
275
|
}
|
276
276
|
},
|
277
277
|
{
|
278
278
|
"name": "url",
|
279
|
-
"summary": "
|
279
|
+
"summary": "Keycloak address",
|
280
280
|
"required": false,
|
281
|
-
"description": "
|
281
|
+
"description": "Address of the Keycloak server",
|
282
282
|
"schema": {
|
283
283
|
"type": "string"
|
284
284
|
}
|
@@ -287,7 +287,7 @@
|
|
287
287
|
"name": "realm",
|
288
288
|
"summary": "Realm",
|
289
289
|
"required": false,
|
290
|
-
"description": "Realm
|
290
|
+
"description": "Realm of the Keycloak server",
|
291
291
|
"schema": {
|
292
292
|
"type": "string"
|
293
293
|
}
|
@@ -295,15 +295,15 @@
|
|
295
295
|
]
|
296
296
|
},
|
297
297
|
"/boost": {
|
298
|
-
"summary": "
|
299
|
-
"description": "Boost
|
298
|
+
"summary": "Secure boost",
|
299
|
+
"description": "Boost offered by Digipair secured by Keycloak",
|
300
300
|
"tags": ["boost", "service"],
|
301
301
|
"metadata": [
|
302
302
|
{
|
303
303
|
"name": "boosts",
|
304
|
-
"summary": "
|
304
|
+
"summary": "List of triggers",
|
305
305
|
"required": true,
|
306
|
-
"description": "
|
306
|
+
"description": "List of triggers for the boost",
|
307
307
|
"schema": {
|
308
308
|
"type": "array",
|
309
309
|
"items": {
|
@@ -315,9 +315,9 @@
|
|
315
315
|
"parameters": [
|
316
316
|
{
|
317
317
|
"name": "execute",
|
318
|
-
"summary": "
|
318
|
+
"summary": "Execution of actions",
|
319
319
|
"required": false,
|
320
|
-
"description": "
|
320
|
+
"description": "List of actions to execute",
|
321
321
|
"schema": {
|
322
322
|
"type": "array",
|
323
323
|
"items": {
|
@@ -327,18 +327,18 @@
|
|
327
327
|
},
|
328
328
|
{
|
329
329
|
"name": "secured",
|
330
|
-
"summary": "
|
330
|
+
"summary": "Secured",
|
331
331
|
"required": false,
|
332
|
-
"description": "
|
332
|
+
"description": "Access allowed only if a Keycloak token is provided",
|
333
333
|
"schema": {
|
334
334
|
"type": "string"
|
335
335
|
}
|
336
336
|
},
|
337
337
|
{
|
338
338
|
"name": "url",
|
339
|
-
"summary": "
|
339
|
+
"summary": "Keycloak address",
|
340
340
|
"required": false,
|
341
|
-
"description": "
|
341
|
+
"description": "Address of the Keycloak server",
|
342
342
|
"schema": {
|
343
343
|
"type": "string"
|
344
344
|
}
|
@@ -347,7 +347,7 @@
|
|
347
347
|
"name": "realm",
|
348
348
|
"summary": "Realm",
|
349
349
|
"required": false,
|
350
|
-
"description": "Realm
|
350
|
+
"description": "Realm of the Keycloak server",
|
351
351
|
"schema": {
|
352
352
|
"type": "string"
|
353
353
|
}
|