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