@digipair/skill-web-keycloak 0.25.6 → 0.26.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/package.json +1 -1
- package/schema.fr.json +88 -0
- package/schema.json +16 -16
package/package.json
CHANGED
package/schema.fr.json
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "@digipair/skill-web-keycloak",
|
|
5
|
+
"summary": "Authentification web Keycloak",
|
|
6
|
+
"description": "Cette compétence permet de gérer une authentification Keycloak coté navigateur.",
|
|
7
|
+
"version": "0.1.0",
|
|
8
|
+
"x-icon": "🔑"
|
|
9
|
+
},
|
|
10
|
+
"paths": {
|
|
11
|
+
"/initialize": {
|
|
12
|
+
"post": {
|
|
13
|
+
"tags": ["web", "spatial"],
|
|
14
|
+
"summary": "Initialisation Keycloak",
|
|
15
|
+
"description": "Initialise l'authentification Keycloak",
|
|
16
|
+
"parameters": [
|
|
17
|
+
{
|
|
18
|
+
"name": "url",
|
|
19
|
+
"summary": "Adresse du serveur",
|
|
20
|
+
"required": false,
|
|
21
|
+
"description": "Adresse du serveur Keycloak",
|
|
22
|
+
"schema": {
|
|
23
|
+
"type": "string"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "realm",
|
|
28
|
+
"summary": "Realm",
|
|
29
|
+
"required": false,
|
|
30
|
+
"description": "Realm Keycloak",
|
|
31
|
+
"schema": {
|
|
32
|
+
"type": "string"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "clientId",
|
|
37
|
+
"summary": "clientId",
|
|
38
|
+
"required": false,
|
|
39
|
+
"description": "ClientId Keycloak",
|
|
40
|
+
"schema": {
|
|
41
|
+
"type": "string"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"x-events": []
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"/isLogged": {
|
|
49
|
+
"post": {
|
|
50
|
+
"tags": ["web", "spatial"],
|
|
51
|
+
"summary": "Utilisateur identifié",
|
|
52
|
+
"description": "Vérifie si l'utilisateur est identifié",
|
|
53
|
+
"parameters": [],
|
|
54
|
+
"x-events": []
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"/token": {
|
|
58
|
+
"post": {
|
|
59
|
+
"tags": ["web", "spatial"],
|
|
60
|
+
"summary": "Token Keycloak",
|
|
61
|
+
"description": "Récupère le token Keycloak",
|
|
62
|
+
"parameters": [],
|
|
63
|
+
"x-events": []
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"/logout": {
|
|
67
|
+
"post": {
|
|
68
|
+
"tags": ["web", "spatial"],
|
|
69
|
+
"summary": "Déconnecte l'utilisateur de Keycloak",
|
|
70
|
+
"description": "Déconnecte l'utilisateur de Keycloak",
|
|
71
|
+
"parameters": [],
|
|
72
|
+
"x-events": []
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"/login": {
|
|
76
|
+
"post": {
|
|
77
|
+
"tags": ["web", "spatial"],
|
|
78
|
+
"summary": "Connecte l'utilisateur à Keycloak",
|
|
79
|
+
"description": "Connecte l'utilisateur à Keycloak",
|
|
80
|
+
"parameters": [],
|
|
81
|
+
"x-events": []
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"components": {
|
|
86
|
+
"schemas": {}
|
|
87
|
+
}
|
|
88
|
+
}
|
package/schema.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"openapi": "3.0.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "@digipair/skill-web-keycloak",
|
|
5
|
-
"summary": "
|
|
6
|
-
"description": "
|
|
5
|
+
"summary": "Keycloak Web Authentication",
|
|
6
|
+
"description": "This skill allows managing Keycloak authentication on the browser side.",
|
|
7
7
|
"version": "0.1.0",
|
|
8
8
|
"x-icon": "🔑"
|
|
9
9
|
},
|
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
"/initialize": {
|
|
12
12
|
"post": {
|
|
13
13
|
"tags": ["web", "spatial"],
|
|
14
|
-
"summary": "
|
|
15
|
-
"description": "
|
|
14
|
+
"summary": "Keycloak Initialization",
|
|
15
|
+
"description": "Initializes Keycloak authentication",
|
|
16
16
|
"parameters": [
|
|
17
17
|
{
|
|
18
18
|
"name": "url",
|
|
19
|
-
"summary": "
|
|
19
|
+
"summary": "Server Address",
|
|
20
20
|
"required": false,
|
|
21
|
-
"description": "
|
|
21
|
+
"description": "Address of the Keycloak server",
|
|
22
22
|
"schema": {
|
|
23
23
|
"type": "string"
|
|
24
24
|
}
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"name": "realm",
|
|
28
28
|
"summary": "Realm",
|
|
29
29
|
"required": false,
|
|
30
|
-
"description": "Realm
|
|
30
|
+
"description": "Keycloak Realm",
|
|
31
31
|
"schema": {
|
|
32
32
|
"type": "string"
|
|
33
33
|
}
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"name": "clientId",
|
|
37
37
|
"summary": "clientId",
|
|
38
38
|
"required": false,
|
|
39
|
-
"description": "ClientId
|
|
39
|
+
"description": "Keycloak ClientId",
|
|
40
40
|
"schema": {
|
|
41
41
|
"type": "string"
|
|
42
42
|
}
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"/isLogged": {
|
|
49
49
|
"post": {
|
|
50
50
|
"tags": ["web", "spatial"],
|
|
51
|
-
"summary": "
|
|
52
|
-
"description": "
|
|
51
|
+
"summary": "User Identified",
|
|
52
|
+
"description": "Checks if the user is identified",
|
|
53
53
|
"parameters": [],
|
|
54
54
|
"x-events": []
|
|
55
55
|
}
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"/token": {
|
|
58
58
|
"post": {
|
|
59
59
|
"tags": ["web", "spatial"],
|
|
60
|
-
"summary": "Token
|
|
61
|
-
"description": "
|
|
60
|
+
"summary": "Keycloak Token",
|
|
61
|
+
"description": "Retrieves the Keycloak token",
|
|
62
62
|
"parameters": [],
|
|
63
63
|
"x-events": []
|
|
64
64
|
}
|
|
@@ -66,8 +66,8 @@
|
|
|
66
66
|
"/logout": {
|
|
67
67
|
"post": {
|
|
68
68
|
"tags": ["web", "spatial"],
|
|
69
|
-
"summary": "
|
|
70
|
-
"description": "
|
|
69
|
+
"summary": "Logout User from Keycloak",
|
|
70
|
+
"description": "Logs the user out of Keycloak",
|
|
71
71
|
"parameters": [],
|
|
72
72
|
"x-events": []
|
|
73
73
|
}
|
|
@@ -75,8 +75,8 @@
|
|
|
75
75
|
"/login": {
|
|
76
76
|
"post": {
|
|
77
77
|
"tags": ["web", "spatial"],
|
|
78
|
-
"summary": "
|
|
79
|
-
"description": "
|
|
78
|
+
"summary": "Login User to Keycloak",
|
|
79
|
+
"description": "Logs the user into Keycloak",
|
|
80
80
|
"parameters": [],
|
|
81
81
|
"x-events": []
|
|
82
82
|
}
|