@digipair/skill-keycloak 0.96.0 → 0.97.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.esm.js +5 -5
- package/package.json +1 -1
- package/schema.fr.json +141 -6
- package/schema.json +141 -6
package/index.esm.js
CHANGED
@@ -23907,14 +23907,14 @@ function indent(str, spaces) {
|
|
23907
23907
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
23908
23908
|
// match is required
|
23909
23909
|
if (!match) {
|
23910
|
-
return
|
23910
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
|
23911
23911
|
v: nextMatch1
|
23912
23912
|
};
|
23913
23913
|
}
|
23914
23914
|
var token = match.token, offset = match.offset;
|
23915
23915
|
i1 += offset;
|
23916
23916
|
if (token === " ") {
|
23917
|
-
return
|
23917
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
|
23918
23918
|
}
|
23919
23919
|
tokens1 = _to_consumable_array$3(tokens1).concat([
|
23920
23920
|
token
|
@@ -23933,7 +23933,7 @@ function indent(str, spaces) {
|
|
23933
23933
|
if (contextKeys.some(function(el) {
|
23934
23934
|
return el.startsWith(name);
|
23935
23935
|
})) {
|
23936
|
-
return
|
23936
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
|
23937
23937
|
}
|
23938
23938
|
if (dateTimeIdentifiers.some(function(el) {
|
23939
23939
|
return el === name;
|
@@ -23952,9 +23952,9 @@ function indent(str, spaces) {
|
|
23952
23952
|
if (dateTimeIdentifiers.some(function(el) {
|
23953
23953
|
return el.startsWith(name);
|
23954
23954
|
})) {
|
23955
|
-
return
|
23955
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
|
23956
23956
|
}
|
23957
|
-
return
|
23957
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
|
23958
23958
|
v: nextMatch1
|
23959
23959
|
};
|
23960
23960
|
};
|
package/package.json
CHANGED
package/schema.fr.json
CHANGED
@@ -36,7 +36,29 @@
|
|
36
36
|
"type": "boolean"
|
37
37
|
}
|
38
38
|
}
|
39
|
-
]
|
39
|
+
],
|
40
|
+
"responses": {
|
41
|
+
"200": {
|
42
|
+
"description": "Exécution réussie",
|
43
|
+
"content": {
|
44
|
+
"application/json": {
|
45
|
+
"schema": {
|
46
|
+
"type": "string",
|
47
|
+
"description": "Chaîne JSON contenant le résultat de l'exécution depuis la factory"
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
},
|
52
|
+
"401": {
|
53
|
+
"description": "Non autorisé - Token Keycloak manquant ou invalide quand secured=true"
|
54
|
+
},
|
55
|
+
"403": {
|
56
|
+
"description": "Interdit - Accès refusé par Keycloak"
|
57
|
+
},
|
58
|
+
"500": {
|
59
|
+
"description": "Erreur serveur - Erreur d'exécution de la factory"
|
60
|
+
}
|
61
|
+
}
|
40
62
|
}
|
41
63
|
},
|
42
64
|
"/login": {
|
@@ -45,7 +67,26 @@
|
|
45
67
|
"description": "Identification de l'utilisateur sur le site internet via le serveur Keycloak",
|
46
68
|
"tags": ["web"],
|
47
69
|
"metadata": [],
|
48
|
-
"parameters": []
|
70
|
+
"parameters": [],
|
71
|
+
"responses": {
|
72
|
+
"200": {
|
73
|
+
"description": "Connexion initiée avec succès",
|
74
|
+
"content": {
|
75
|
+
"application/json": {
|
76
|
+
"schema": {
|
77
|
+
"type": "object",
|
78
|
+
"description": "Réponse de connexion depuis Keycloak"
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
},
|
83
|
+
"400": {
|
84
|
+
"description": "Requête invalide - Paramètres de connexion invalides"
|
85
|
+
},
|
86
|
+
"500": {
|
87
|
+
"description": "Erreur serveur - Erreur d'authentification Keycloak"
|
88
|
+
}
|
89
|
+
}
|
49
90
|
}
|
50
91
|
},
|
51
92
|
"/logout": {
|
@@ -54,7 +95,26 @@
|
|
54
95
|
"description": "Désidentification de l'utilisateur sur le site internet via le serveur Keycloak",
|
55
96
|
"tags": ["web"],
|
56
97
|
"metadata": [],
|
57
|
-
"parameters": []
|
98
|
+
"parameters": [],
|
99
|
+
"responses": {
|
100
|
+
"200": {
|
101
|
+
"description": "Déconnexion réussie",
|
102
|
+
"content": {
|
103
|
+
"application/json": {
|
104
|
+
"schema": {
|
105
|
+
"type": "object",
|
106
|
+
"description": "Confirmation de déconnexion depuis Keycloak"
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
},
|
111
|
+
"400": {
|
112
|
+
"description": "Requête invalide - Requête de déconnexion invalide"
|
113
|
+
},
|
114
|
+
"500": {
|
115
|
+
"description": "Erreur serveur - Erreur de déconnexion Keycloak"
|
116
|
+
}
|
117
|
+
}
|
58
118
|
}
|
59
119
|
}
|
60
120
|
},
|
@@ -298,7 +358,32 @@
|
|
298
358
|
"type": "string"
|
299
359
|
}
|
300
360
|
}
|
301
|
-
]
|
361
|
+
],
|
362
|
+
"responses": {
|
363
|
+
"200": {
|
364
|
+
"description": "Page web sécurisée rendue avec succès",
|
365
|
+
"content": {
|
366
|
+
"text/html": {
|
367
|
+
"schema": {
|
368
|
+
"type": "string",
|
369
|
+
"description": "Page HTML avec intégration et sécurité Keycloak"
|
370
|
+
}
|
371
|
+
}
|
372
|
+
}
|
373
|
+
},
|
374
|
+
"401": {
|
375
|
+
"description": "Non autorisé - Authentification Keycloak requise"
|
376
|
+
},
|
377
|
+
"403": {
|
378
|
+
"description": "Interdit - Accès refusé par Keycloak"
|
379
|
+
},
|
380
|
+
"404": {
|
381
|
+
"description": "Non trouvé - Page ou ressource non trouvée"
|
382
|
+
},
|
383
|
+
"500": {
|
384
|
+
"description": "Erreur serveur - Erreur de rendu de page"
|
385
|
+
}
|
386
|
+
}
|
302
387
|
},
|
303
388
|
"/service": {
|
304
389
|
"summary": "Web service sécurisé",
|
@@ -345,7 +430,29 @@
|
|
345
430
|
"type": "string"
|
346
431
|
}
|
347
432
|
}
|
348
|
-
]
|
433
|
+
],
|
434
|
+
"responses": {
|
435
|
+
"200": {
|
436
|
+
"description": "Service exécuté avec succès",
|
437
|
+
"content": {
|
438
|
+
"application/json": {
|
439
|
+
"schema": {
|
440
|
+
"type": "object",
|
441
|
+
"description": "Résultat de l'exécution du service"
|
442
|
+
}
|
443
|
+
}
|
444
|
+
}
|
445
|
+
},
|
446
|
+
"401": {
|
447
|
+
"description": "Non autorisé - Token Keycloak manquant ou invalide quand secured=true"
|
448
|
+
},
|
449
|
+
"403": {
|
450
|
+
"description": "Interdit - Accès refusé par Keycloak"
|
451
|
+
},
|
452
|
+
"500": {
|
453
|
+
"description": "Erreur serveur - Erreur d'exécution du service"
|
454
|
+
}
|
455
|
+
}
|
349
456
|
},
|
350
457
|
"/boost": {
|
351
458
|
"summary": "Boost sécurisé",
|
@@ -432,7 +539,35 @@
|
|
432
539
|
"type": "string"
|
433
540
|
}
|
434
541
|
}
|
435
|
-
]
|
542
|
+
],
|
543
|
+
"responses": {
|
544
|
+
"200": {
|
545
|
+
"description": "Étape de boost exécutée avec succès",
|
546
|
+
"content": {
|
547
|
+
"application/json": {
|
548
|
+
"schema": {
|
549
|
+
"type": "object",
|
550
|
+
"description": "Résultat de l'exécution du boost avec données d'étape"
|
551
|
+
}
|
552
|
+
}
|
553
|
+
}
|
554
|
+
},
|
555
|
+
"400": {
|
556
|
+
"description": "Requête invalide - Étape ou paramètres de boost invalides"
|
557
|
+
},
|
558
|
+
"401": {
|
559
|
+
"description": "Non autorisé - Token Keycloak manquant ou invalide quand secured=true"
|
560
|
+
},
|
561
|
+
"403": {
|
562
|
+
"description": "Interdit - Accès refusé par Keycloak"
|
563
|
+
},
|
564
|
+
"405": {
|
565
|
+
"description": "Méthode non autorisée - Seule la méthode POST est supportée"
|
566
|
+
},
|
567
|
+
"500": {
|
568
|
+
"description": "Erreur serveur - Erreur d'exécution du boost"
|
569
|
+
}
|
570
|
+
}
|
436
571
|
}
|
437
572
|
}
|
438
573
|
}
|
package/schema.json
CHANGED
@@ -36,7 +36,29 @@
|
|
36
36
|
"type": "boolean"
|
37
37
|
}
|
38
38
|
}
|
39
|
-
]
|
39
|
+
],
|
40
|
+
"responses": {
|
41
|
+
"200": {
|
42
|
+
"description": "Execution successful",
|
43
|
+
"content": {
|
44
|
+
"application/json": {
|
45
|
+
"schema": {
|
46
|
+
"type": "string",
|
47
|
+
"description": "JSON string containing the execution result from the factory"
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
},
|
52
|
+
"401": {
|
53
|
+
"description": "Unauthorized - Missing or invalid Keycloak token when secured=true"
|
54
|
+
},
|
55
|
+
"403": {
|
56
|
+
"description": "Forbidden - Access denied by Keycloak"
|
57
|
+
},
|
58
|
+
"500": {
|
59
|
+
"description": "Server error - Factory execution error"
|
60
|
+
}
|
61
|
+
}
|
40
62
|
}
|
41
63
|
},
|
42
64
|
"/login": {
|
@@ -45,7 +67,26 @@
|
|
45
67
|
"description": "User authentication on the website via the Keycloak server",
|
46
68
|
"tags": ["web"],
|
47
69
|
"metadata": [],
|
48
|
-
"parameters": []
|
70
|
+
"parameters": [],
|
71
|
+
"responses": {
|
72
|
+
"200": {
|
73
|
+
"description": "Login initiated successfully",
|
74
|
+
"content": {
|
75
|
+
"application/json": {
|
76
|
+
"schema": {
|
77
|
+
"type": "object",
|
78
|
+
"description": "Login response from Keycloak"
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
},
|
83
|
+
"400": {
|
84
|
+
"description": "Bad request - Invalid login parameters"
|
85
|
+
},
|
86
|
+
"500": {
|
87
|
+
"description": "Server error - Keycloak authentication error"
|
88
|
+
}
|
89
|
+
}
|
49
90
|
}
|
50
91
|
},
|
51
92
|
"/logout": {
|
@@ -54,7 +95,26 @@
|
|
54
95
|
"description": "User logout from the website via the Keycloak server",
|
55
96
|
"tags": ["web"],
|
56
97
|
"metadata": [],
|
57
|
-
"parameters": []
|
98
|
+
"parameters": [],
|
99
|
+
"responses": {
|
100
|
+
"200": {
|
101
|
+
"description": "Logout successful",
|
102
|
+
"content": {
|
103
|
+
"application/json": {
|
104
|
+
"schema": {
|
105
|
+
"type": "object",
|
106
|
+
"description": "Logout confirmation from Keycloak"
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
},
|
111
|
+
"400": {
|
112
|
+
"description": "Bad request - Invalid logout request"
|
113
|
+
},
|
114
|
+
"500": {
|
115
|
+
"description": "Server error - Keycloak logout error"
|
116
|
+
}
|
117
|
+
}
|
58
118
|
}
|
59
119
|
}
|
60
120
|
},
|
@@ -298,7 +358,32 @@
|
|
298
358
|
"type": "string"
|
299
359
|
}
|
300
360
|
}
|
301
|
-
]
|
361
|
+
],
|
362
|
+
"responses": {
|
363
|
+
"200": {
|
364
|
+
"description": "Secure web page rendered successfully",
|
365
|
+
"content": {
|
366
|
+
"text/html": {
|
367
|
+
"schema": {
|
368
|
+
"type": "string",
|
369
|
+
"description": "HTML page with Keycloak integration and security"
|
370
|
+
}
|
371
|
+
}
|
372
|
+
}
|
373
|
+
},
|
374
|
+
"401": {
|
375
|
+
"description": "Unauthorized - Keycloak authentication required"
|
376
|
+
},
|
377
|
+
"403": {
|
378
|
+
"description": "Forbidden - Access denied by Keycloak"
|
379
|
+
},
|
380
|
+
"404": {
|
381
|
+
"description": "Not found - Page or resource not found"
|
382
|
+
},
|
383
|
+
"500": {
|
384
|
+
"description": "Server error - Page rendering error"
|
385
|
+
}
|
386
|
+
}
|
302
387
|
},
|
303
388
|
"/service": {
|
304
389
|
"summary": "Secure web service",
|
@@ -345,7 +430,29 @@
|
|
345
430
|
"type": "string"
|
346
431
|
}
|
347
432
|
}
|
348
|
-
]
|
433
|
+
],
|
434
|
+
"responses": {
|
435
|
+
"200": {
|
436
|
+
"description": "Service executed successfully",
|
437
|
+
"content": {
|
438
|
+
"application/json": {
|
439
|
+
"schema": {
|
440
|
+
"type": "object",
|
441
|
+
"description": "Service execution result"
|
442
|
+
}
|
443
|
+
}
|
444
|
+
}
|
445
|
+
},
|
446
|
+
"401": {
|
447
|
+
"description": "Unauthorized - Missing or invalid Keycloak token when secured=true"
|
448
|
+
},
|
449
|
+
"403": {
|
450
|
+
"description": "Forbidden - Access denied by Keycloak"
|
451
|
+
},
|
452
|
+
"500": {
|
453
|
+
"description": "Server error - Service execution error"
|
454
|
+
}
|
455
|
+
}
|
349
456
|
},
|
350
457
|
"/boost": {
|
351
458
|
"summary": "Secure boost",
|
@@ -432,7 +539,35 @@
|
|
432
539
|
"type": "string"
|
433
540
|
}
|
434
541
|
}
|
435
|
-
]
|
542
|
+
],
|
543
|
+
"responses": {
|
544
|
+
"200": {
|
545
|
+
"description": "Boost step executed successfully",
|
546
|
+
"content": {
|
547
|
+
"application/json": {
|
548
|
+
"schema": {
|
549
|
+
"type": "object",
|
550
|
+
"description": "Boost execution result with step data"
|
551
|
+
}
|
552
|
+
}
|
553
|
+
}
|
554
|
+
},
|
555
|
+
"400": {
|
556
|
+
"description": "Bad request - Invalid step or boost parameters"
|
557
|
+
},
|
558
|
+
"401": {
|
559
|
+
"description": "Unauthorized - Missing or invalid Keycloak token when secured=true"
|
560
|
+
},
|
561
|
+
"403": {
|
562
|
+
"description": "Forbidden - Access denied by Keycloak"
|
563
|
+
},
|
564
|
+
"405": {
|
565
|
+
"description": "Method not allowed - Only POST method supported"
|
566
|
+
},
|
567
|
+
"500": {
|
568
|
+
"description": "Server error - Boost execution error"
|
569
|
+
}
|
570
|
+
}
|
436
571
|
}
|
437
572
|
}
|
438
573
|
}
|