ldap-rest 0.0.1 → 0.1.1

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.
Files changed (62) hide show
  1. package/README.md +38 -0
  2. package/bin/sync-app-accounts.mjs +276 -0
  3. package/dist/abstract/ldapFlat.js +1 -1
  4. package/dist/abstract/plugin.js +1 -1
  5. package/dist/bin/index.js +1 -1
  6. package/dist/config/args.js +1 -1
  7. package/dist/lib/ldapActions.js +1 -1
  8. package/dist/lib/utils.js +1 -1
  9. package/dist/logger/winston.js +1 -1
  10. package/dist/plugins/auth/hmac.js +1 -0
  11. package/dist/plugins/auth/totp.js +1 -0
  12. package/dist/plugins/demo/helloworld.js +1 -1
  13. package/dist/plugins/ldap/groups.js +1 -1
  14. package/dist/plugins/ldap/onChange.js +1 -1
  15. package/dist/plugins/static.js +1 -1
  16. package/dist/plugins/twake/appAccountsApi.js +1 -0
  17. package/dist/plugins/twake/appAccountsConsistency.js +1 -0
  18. package/dist/plugins/twake/james.js +1 -1
  19. package/dist/plugins/weblogs.js +1 -1
  20. package/dist/src/abstract/ldapFlat.d.ts +0 -5
  21. package/dist/src/abstract/plugin.d.ts +1 -0
  22. package/dist/src/bin/index.d.ts +1 -0
  23. package/dist/src/browser/shared/index.d.ts +1 -0
  24. package/dist/src/browser/shared/utils/hmac.d.ts +73 -0
  25. package/dist/src/browser/shared/utils/totp.d.ts +64 -0
  26. package/dist/src/config/args.d.ts +9 -1
  27. package/dist/src/hooks.d.ts +2 -2
  28. package/dist/src/lib/ldapActions.d.ts +3 -7
  29. package/dist/src/lib/utils.d.ts +17 -0
  30. package/dist/src/logger/winston.d.ts +5 -0
  31. package/dist/src/plugins/auth/hmac.d.ts +24 -0
  32. package/dist/src/plugins/auth/totp.d.ts +28 -0
  33. package/dist/src/plugins/ldap/onChange.d.ts +1 -0
  34. package/dist/src/plugins/static.d.ts +4 -0
  35. package/dist/src/plugins/twake/appAccountsApi.d.ts +52 -0
  36. package/dist/src/plugins/twake/appAccountsConsistency.d.ts +58 -0
  37. package/docs/DEVELOPER_GUIDE.md +1 -0
  38. package/docs/PLUGIN_DEPENDENCIES.md +19 -0
  39. package/docs/README.md +76 -30
  40. package/docs/authentication.md +604 -12
  41. package/docs/plugins/DEVELOPMENT.md +162 -76
  42. package/docs/testing-with-embedded-ldap.md +347 -0
  43. package/docs/twakeAppAccountsApi.md +485 -0
  44. package/docs/weblogs.md +37 -8
  45. package/examples/web/README.md +175 -0
  46. package/examples/web/ldap-tree-viewer.html +16 -2
  47. package/examples/web/totp-client.html +541 -0
  48. package/package.json +132 -87
  49. package/static/browser/shared/index.js +1 -0
  50. package/static/browser/shared/index.js.map +1 -1
  51. package/static/browser/shared/utils/hmac.js +202 -0
  52. package/static/browser/shared/utils/hmac.js.map +1 -0
  53. package/static/browser/shared/utils/totp.js +182 -0
  54. package/static/browser/shared/utils/totp.js.map +1 -0
  55. package/static/browser/shared.esm.js +181 -1
  56. package/static/browser/shared.esm.js.map +1 -1
  57. package/static/browser/shared.js +184 -0
  58. package/static/browser/shared.js.map +1 -1
  59. package/static/browser/shared.min.js +1 -1
  60. package/static/browser/shared.min.js.map +1 -1
  61. package/static/schemas/obm/organizations.json +24 -0
  62. package/static/schemas/obm/users.json +192 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ldap-rest",
3
- "version": "0.0.1",
3
+ "version": "0.1.1",
4
4
  "description": "Light directory manager",
5
5
  "keywords": [
6
6
  "Identity-Manager"
@@ -21,346 +21,390 @@
21
21
  "import": "./dist/bin/index.js",
22
22
  "types": "./dist/src/bin/index.d.ts"
23
23
  },
24
- "hooks": {
24
+ "./hooks": {
25
25
  "types": "./dist/src/hooks.d.ts"
26
26
  },
27
- "expressformatedresponses": {
27
+ "./expressformatedresponses": {
28
28
  "import": "./dist/lib/expressFormatedResponses.js",
29
29
  "types": "./dist/src/lib/expressFormatedResponses.d.ts"
30
30
  },
31
- "plugin-auth-authzlinid1": {
31
+ "./plugin-auth-authzlinid1": {
32
32
  "import": "./dist/plugins/auth/authzLinid1.js",
33
33
  "types": "./dist/src/plugins/auth/authzLinid1.d.ts"
34
34
  },
35
- "plugin-auth-authzperbranch": {
35
+ "./plugin-auth-authzperbranch": {
36
36
  "import": "./dist/plugins/auth/authzPerBranch.js",
37
37
  "types": "./dist/src/plugins/auth/authzPerBranch.d.ts"
38
38
  },
39
- "plugin-auth-crowdsec": {
39
+ "./plugin-auth-crowdsec": {
40
40
  "import": "./dist/plugins/auth/crowdsec.js",
41
41
  "types": "./dist/src/plugins/auth/crowdsec.d.ts"
42
42
  },
43
- "plugin-auth-llng": {
43
+ "./plugin-auth-hmac": {
44
+ "import": "./dist/plugins/auth/hmac.js",
45
+ "types": "./dist/src/plugins/auth/hmac.d.ts"
46
+ },
47
+ "./plugin-auth-llng": {
44
48
  "import": "./dist/plugins/auth/llng.js",
45
49
  "types": "./dist/src/plugins/auth/llng.d.ts"
46
50
  },
47
- "plugin-auth-openidconnect": {
51
+ "./plugin-auth-openidconnect": {
48
52
  "import": "./dist/plugins/auth/openidconnect.js",
49
53
  "types": "./dist/src/plugins/auth/openidconnect.d.ts"
50
54
  },
51
- "plugin-auth-ratelimit": {
55
+ "./plugin-auth-ratelimit": {
52
56
  "import": "./dist/plugins/auth/rateLimit.js",
53
57
  "types": "./dist/src/plugins/auth/rateLimit.d.ts"
54
58
  },
55
- "plugin-auth-token": {
59
+ "./plugin-auth-token": {
56
60
  "import": "./dist/plugins/auth/token.js",
57
61
  "types": "./dist/src/plugins/auth/token.d.ts"
58
62
  },
59
- "plugin-configapi": {
63
+ "./plugin-auth-totp": {
64
+ "import": "./dist/plugins/auth/totp.js",
65
+ "types": "./dist/src/plugins/auth/totp.d.ts"
66
+ },
67
+ "./plugin-configapi": {
60
68
  "import": "./dist/plugins/configApi.js",
61
69
  "types": "./dist/src/plugins/configApi.d.ts"
62
70
  },
63
- "plugin-demo-helloworld": {
71
+ "./plugin-demo-helloworld": {
64
72
  "import": "./dist/plugins/demo/helloworld.js",
65
73
  "types": "./dist/src/plugins/demo/helloworld.d.ts"
66
74
  },
67
- "plugin-ldap-bulkimport": {
75
+ "./plugin-ldap-bulkimport": {
68
76
  "import": "./dist/plugins/ldap/bulkImport.js",
69
77
  "types": "./dist/src/plugins/ldap/bulkImport.d.ts"
70
78
  },
71
- "plugin-ldap-departmentsync": {
79
+ "./plugin-ldap-departmentsync": {
72
80
  "import": "./dist/plugins/ldap/departmentSync.js",
73
81
  "types": "./dist/src/plugins/ldap/departmentSync.d.ts"
74
82
  },
75
- "plugin-ldap-externalusersingroups": {
83
+ "./plugin-ldap-externalusersingroups": {
76
84
  "import": "./dist/plugins/ldap/externalUsersInGroups.js",
77
85
  "types": "./dist/src/plugins/ldap/externalUsersInGroups.d.ts"
78
86
  },
79
- "plugin-ldap-flatgeneric": {
87
+ "./plugin-ldap-flatgeneric": {
80
88
  "import": "./dist/plugins/ldap/flatGeneric.js",
81
89
  "types": "./dist/src/plugins/ldap/flatGeneric.d.ts"
82
90
  },
83
- "plugin-ldap-groups": {
91
+ "./plugin-ldap-groups": {
84
92
  "import": "./dist/plugins/ldap/groups.js",
85
93
  "types": "./dist/src/plugins/ldap/groups.d.ts"
86
94
  },
87
- "plugin-ldap-onchange": {
95
+ "./plugin-ldap-onchange": {
88
96
  "import": "./dist/plugins/ldap/onChange.js",
89
97
  "types": "./dist/src/plugins/ldap/onChange.d.ts"
90
98
  },
91
- "plugin-ldap-organization": {
99
+ "./plugin-ldap-organization": {
92
100
  "import": "./dist/plugins/ldap/organization.js",
93
101
  "types": "./dist/src/plugins/ldap/organization.d.ts"
94
102
  },
95
- "plugin-ldap-trash": {
103
+ "./plugin-ldap-trash": {
96
104
  "import": "./dist/plugins/ldap/trash.js",
97
105
  "types": "./dist/src/plugins/ldap/trash.d.ts"
98
106
  },
99
- "plugin-static": {
107
+ "./plugin-static": {
100
108
  "import": "./dist/plugins/static.js",
101
109
  "types": "./dist/src/plugins/static.d.ts"
102
110
  },
103
- "plugin-twake-calendarresources": {
111
+ "./plugin-twake-appaccountsapi": {
112
+ "import": "./dist/plugins/twake/appAccountsApi.js",
113
+ "types": "./dist/src/plugins/twake/appAccountsApi.d.ts"
114
+ },
115
+ "./plugin-twake-appaccountsconsistency": {
116
+ "import": "./dist/plugins/twake/appAccountsConsistency.js",
117
+ "types": "./dist/src/plugins/twake/appAccountsConsistency.d.ts"
118
+ },
119
+ "./plugin-twake-calendarresources": {
104
120
  "import": "./dist/plugins/twake/calendarResources.js",
105
121
  "types": "./dist/src/plugins/twake/calendarResources.d.ts"
106
122
  },
107
- "plugin-twake-james": {
123
+ "./plugin-twake-james": {
108
124
  "import": "./dist/plugins/twake/james.js",
109
125
  "types": "./dist/src/plugins/twake/james.d.ts"
110
126
  },
111
- "plugin-weblogs": {
127
+ "./plugin-weblogs": {
112
128
  "import": "./dist/plugins/weblogs.js",
113
129
  "types": "./dist/src/plugins/weblogs.d.ts"
114
130
  },
115
- "browser-ldap-group-editor-ldapgroupeditor": {
131
+ "./abstract-ldapflat": {
132
+ "import": "./dist/abstract/ldapFlat.js",
133
+ "types": "./dist/src/abstract/ldapFlat.d.ts"
134
+ },
135
+ "./abstract-plugin": {
136
+ "import": "./dist/abstract/plugin.js",
137
+ "types": "./dist/src/abstract/plugin.d.ts"
138
+ },
139
+ "./abstract-twakeplugin": {
140
+ "import": "./dist/abstract/twakePlugin.js",
141
+ "types": "./dist/src/abstract/twakePlugin.d.ts"
142
+ },
143
+ "./browser-ldap-group-editor-ldapgroupeditor": {
116
144
  "import": "./static/browser/ldap-group-editor/LdapGroupEditor.js",
117
145
  "types": "./dist/src/browser/ldap-group-editor/LdapGroupEditor.d.ts"
118
146
  },
119
- "browser-ldap-group-editor-api-groupapiclient": {
147
+ "./browser-ldap-group-editor-api-groupapiclient": {
120
148
  "import": "./static/browser/ldap-group-editor/api/GroupApiClient.js",
121
149
  "types": "./dist/src/browser/ldap-group-editor/api/GroupApiClient.d.ts"
122
150
  },
123
- "browser-ldap-group-editor-components-creategroupmodal": {
151
+ "./browser-ldap-group-editor-components-creategroupmodal": {
124
152
  "import": "./static/browser/ldap-group-editor/components/CreateGroupModal.js",
125
153
  "types": "./dist/src/browser/ldap-group-editor/components/CreateGroupModal.d.ts"
126
154
  },
127
- "browser-ldap-group-editor-components-grouppropertyeditor": {
155
+ "./browser-ldap-group-editor-components-grouppropertyeditor": {
128
156
  "import": "./static/browser/ldap-group-editor/components/GroupPropertyEditor.js",
129
157
  "types": "./dist/src/browser/ldap-group-editor/components/GroupPropertyEditor.d.ts"
130
158
  },
131
- "browser-ldap-group-editor-components-grouptree": {
159
+ "./browser-ldap-group-editor-components-grouptree": {
132
160
  "import": "./static/browser/ldap-group-editor/components/GroupTree.js",
133
161
  "types": "./dist/src/browser/ldap-group-editor/components/GroupTree.d.ts"
134
162
  },
135
- "browser-ldap-group-editor-components-movegroupmodal": {
163
+ "./browser-ldap-group-editor-components-movegroupmodal": {
136
164
  "import": "./static/browser/ldap-group-editor/components/MoveGroupModal.js",
137
165
  "types": "./dist/src/browser/ldap-group-editor/components/MoveGroupModal.d.ts"
138
166
  },
139
- "browser-ldap-group-editor-index": {
167
+ "./browser-ldap-group-editor-index": {
140
168
  "import": "./static/browser/ldap-group-editor/index.js",
141
169
  "types": "./dist/src/browser/ldap-group-editor/index.d.ts"
142
170
  },
143
- "browser-ldap-group-editor-types": {
171
+ "./browser-ldap-group-editor-types": {
144
172
  "import": "./static/browser/ldap-group-editor/types.js",
145
173
  "types": "./dist/src/browser/ldap-group-editor/types.d.ts"
146
174
  },
147
- "browser-ldap-resource-editor-api-resourceapiclient": {
175
+ "./browser-ldap-resource-editor-api-resourceapiclient": {
148
176
  "import": "./static/browser/ldap-resource-editor/api/ResourceApiClient.js",
149
177
  "types": "./dist/src/browser/ldap-resource-editor/api/ResourceApiClient.d.ts"
150
178
  },
151
- "browser-ldap-resource-editor-cache-cachemanager": {
179
+ "./browser-ldap-resource-editor-cache-cachemanager": {
152
180
  "import": "./static/browser/ldap-resource-editor/cache/CacheManager.js",
153
181
  "types": "./dist/src/browser/ldap-resource-editor/cache/CacheManager.d.ts"
154
182
  },
155
- "browser-ldap-resource-editor-index": {
183
+ "./browser-ldap-resource-editor-index": {
156
184
  "import": "./static/browser/ldap-resource-editor/index.js",
157
185
  "types": "./dist/src/browser/ldap-resource-editor/index.d.ts"
158
186
  },
159
- "browser-ldap-resource-editor-types": {
187
+ "./browser-ldap-resource-editor-types": {
160
188
  "import": "./static/browser/ldap-resource-editor/types.js",
161
189
  "types": "./dist/src/browser/ldap-resource-editor/types.d.ts"
162
190
  },
163
- "browser-ldap-tree-viewer-ldaptreeviewer": {
191
+ "./browser-ldap-tree-viewer-ldaptreeviewer": {
164
192
  "import": "./static/browser/ldap-tree-viewer/LdapTreeViewer.js",
165
193
  "types": "./dist/src/browser/ldap-tree-viewer/LdapTreeViewer.d.ts"
166
194
  },
167
- "browser-ldap-tree-viewer-api-ldapapiclient": {
195
+ "./browser-ldap-tree-viewer-api-ldapapiclient": {
168
196
  "import": "./static/browser/ldap-tree-viewer/api/LdapApiClient.js",
169
197
  "types": "./dist/src/browser/ldap-tree-viewer/api/LdapApiClient.d.ts"
170
198
  },
171
- "browser-ldap-tree-viewer-components-treenode": {
199
+ "./browser-ldap-tree-viewer-components-treenode": {
172
200
  "import": "./static/browser/ldap-tree-viewer/components/TreeNode.js",
173
201
  "types": "./dist/src/browser/ldap-tree-viewer/components/TreeNode.d.ts"
174
202
  },
175
- "browser-ldap-tree-viewer-components-treeroot": {
203
+ "./browser-ldap-tree-viewer-components-treeroot": {
176
204
  "import": "./static/browser/ldap-tree-viewer/components/TreeRoot.js",
177
205
  "types": "./dist/src/browser/ldap-tree-viewer/components/TreeRoot.d.ts"
178
206
  },
179
- "browser-ldap-tree-viewer-index": {
207
+ "./browser-ldap-tree-viewer-index": {
180
208
  "import": "./static/browser/ldap-tree-viewer/index.js",
181
209
  "types": "./dist/src/browser/ldap-tree-viewer/index.d.ts"
182
210
  },
183
- "browser-ldap-tree-viewer-store-store": {
211
+ "./browser-ldap-tree-viewer-store-store": {
184
212
  "import": "./static/browser/ldap-tree-viewer/store/Store.js",
185
213
  "types": "./dist/src/browser/ldap-tree-viewer/store/Store.d.ts"
186
214
  },
187
- "browser-ldap-tree-viewer-store-actions": {
215
+ "./browser-ldap-tree-viewer-store-actions": {
188
216
  "import": "./static/browser/ldap-tree-viewer/store/actions.js",
189
217
  "types": "./dist/src/browser/ldap-tree-viewer/store/actions.d.ts"
190
218
  },
191
- "browser-ldap-tree-viewer-store-reducers": {
219
+ "./browser-ldap-tree-viewer-store-reducers": {
192
220
  "import": "./static/browser/ldap-tree-viewer/store/reducers.js",
193
221
  "types": "./dist/src/browser/ldap-tree-viewer/store/reducers.d.ts"
194
222
  },
195
- "browser-ldap-tree-viewer-types": {
223
+ "./browser-ldap-tree-viewer-types": {
196
224
  "import": "./static/browser/ldap-tree-viewer/types.js",
197
225
  "types": "./dist/src/browser/ldap-tree-viewer/types.d.ts"
198
226
  },
199
- "browser-ldap-unit-editor-ldapuniteditor": {
227
+ "./browser-ldap-unit-editor-ldapuniteditor": {
200
228
  "import": "./static/browser/ldap-unit-editor/LdapUnitEditor.js",
201
229
  "types": "./dist/src/browser/ldap-unit-editor/LdapUnitEditor.d.ts"
202
230
  },
203
- "browser-ldap-unit-editor-api-unitapiclient": {
231
+ "./browser-ldap-unit-editor-api-unitapiclient": {
204
232
  "import": "./static/browser/ldap-unit-editor/api/UnitApiClient.js",
205
233
  "types": "./dist/src/browser/ldap-unit-editor/api/UnitApiClient.d.ts"
206
234
  },
207
- "browser-ldap-unit-editor-components-moveunitmodal": {
235
+ "./browser-ldap-unit-editor-components-moveunitmodal": {
208
236
  "import": "./static/browser/ldap-unit-editor/components/MoveUnitModal.js",
209
237
  "types": "./dist/src/browser/ldap-unit-editor/components/MoveUnitModal.d.ts"
210
238
  },
211
- "browser-ldap-unit-editor-components-unitpropertyeditor": {
239
+ "./browser-ldap-unit-editor-components-unitpropertyeditor": {
212
240
  "import": "./static/browser/ldap-unit-editor/components/UnitPropertyEditor.js",
213
241
  "types": "./dist/src/browser/ldap-unit-editor/components/UnitPropertyEditor.d.ts"
214
242
  },
215
- "browser-ldap-unit-editor-components-unittree": {
243
+ "./browser-ldap-unit-editor-components-unittree": {
216
244
  "import": "./static/browser/ldap-unit-editor/components/UnitTree.js",
217
245
  "types": "./dist/src/browser/ldap-unit-editor/components/UnitTree.d.ts"
218
246
  },
219
- "browser-ldap-unit-editor-index": {
247
+ "./browser-ldap-unit-editor-index": {
220
248
  "import": "./static/browser/ldap-unit-editor/index.js",
221
249
  "types": "./dist/src/browser/ldap-unit-editor/index.d.ts"
222
250
  },
223
- "browser-ldap-unit-editor-types": {
251
+ "./browser-ldap-unit-editor-types": {
224
252
  "import": "./static/browser/ldap-unit-editor/types.js",
225
253
  "types": "./dist/src/browser/ldap-unit-editor/types.d.ts"
226
254
  },
227
- "browser-ldap-user-editor-ldapusereditor": {
255
+ "./browser-ldap-user-editor-ldapusereditor": {
228
256
  "import": "./static/browser/ldap-user-editor/LdapUserEditor.js",
229
257
  "types": "./dist/src/browser/ldap-user-editor/LdapUserEditor.d.ts"
230
258
  },
231
- "browser-ldap-user-editor-api-userapiclient": {
259
+ "./browser-ldap-user-editor-api-userapiclient": {
232
260
  "import": "./static/browser/ldap-user-editor/api/UserApiClient.js",
233
261
  "types": "./dist/src/browser/ldap-user-editor/api/UserApiClient.d.ts"
234
262
  },
235
- "browser-ldap-user-editor-cache-cachemanager": {
263
+ "./browser-ldap-user-editor-cache-cachemanager": {
236
264
  "import": "./static/browser/ldap-user-editor/cache/CacheManager.js",
237
265
  "types": "./dist/src/browser/ldap-user-editor/cache/CacheManager.d.ts"
238
266
  },
239
- "browser-ldap-user-editor-components-moveusermodal": {
267
+ "./browser-ldap-user-editor-components-moveusermodal": {
240
268
  "import": "./static/browser/ldap-user-editor/components/MoveUserModal.js",
241
269
  "types": "./dist/src/browser/ldap-user-editor/components/MoveUserModal.d.ts"
242
270
  },
243
- "browser-ldap-user-editor-components-pointerfield": {
271
+ "./browser-ldap-user-editor-components-pointerfield": {
244
272
  "import": "./static/browser/ldap-user-editor/components/PointerField.js",
245
273
  "types": "./dist/src/browser/ldap-user-editor/components/PointerField.d.ts"
246
274
  },
247
- "browser-ldap-user-editor-components-usereditor": {
275
+ "./browser-ldap-user-editor-components-usereditor": {
248
276
  "import": "./static/browser/ldap-user-editor/components/UserEditor.js",
249
277
  "types": "./dist/src/browser/ldap-user-editor/components/UserEditor.d.ts"
250
278
  },
251
- "browser-ldap-user-editor-components-userlist": {
279
+ "./browser-ldap-user-editor-components-userlist": {
252
280
  "import": "./static/browser/ldap-user-editor/components/UserList.js",
253
281
  "types": "./dist/src/browser/ldap-user-editor/components/UserList.d.ts"
254
282
  },
255
- "browser-ldap-user-editor-components-usertree": {
283
+ "./browser-ldap-user-editor-components-usertree": {
256
284
  "import": "./static/browser/ldap-user-editor/components/UserTree.js",
257
285
  "types": "./dist/src/browser/ldap-user-editor/components/UserTree.d.ts"
258
286
  },
259
- "browser-ldap-user-editor-index": {
287
+ "./browser-ldap-user-editor-index": {
260
288
  "import": "./static/browser/ldap-user-editor/index.js",
261
289
  "types": "./dist/src/browser/ldap-user-editor/index.d.ts"
262
290
  },
263
- "browser-ldap-user-editor-types": {
291
+ "./browser-ldap-user-editor-types": {
264
292
  "import": "./static/browser/ldap-user-editor/types.js",
265
293
  "types": "./dist/src/browser/ldap-user-editor/types.d.ts"
266
294
  },
267
- "browser-shared-components-modal": {
295
+ "./browser-shared-components-modal": {
268
296
  "import": "./static/browser/shared/components/Modal.js",
269
297
  "types": "./dist/src/browser/shared/components/Modal.d.ts"
270
298
  },
271
- "browser-shared-components-statusmessage": {
299
+ "./browser-shared-components-statusmessage": {
272
300
  "import": "./static/browser/shared/components/StatusMessage.js",
273
301
  "types": "./dist/src/browser/shared/components/StatusMessage.d.ts"
274
302
  },
275
- "browser-shared-index": {
303
+ "./browser-shared-index": {
276
304
  "import": "./static/browser/shared/index.js",
277
305
  "types": "./dist/src/browser/shared/index.d.ts"
278
306
  },
279
- "browser-shared-types-index": {
307
+ "./browser-shared-types-index": {
280
308
  "import": "./static/browser/shared/types/index.js",
281
309
  "types": "./dist/src/browser/shared/types/index.d.ts"
282
310
  },
283
- "browser-shared-utils-dom": {
311
+ "./browser-shared-utils-dom": {
284
312
  "import": "./static/browser/shared/utils/dom.js",
285
313
  "types": "./dist/src/browser/shared/utils/dom.d.ts"
286
314
  },
287
- "browser-shared-utils-form": {
315
+ "./browser-shared-utils-form": {
288
316
  "import": "./static/browser/shared/utils/form.js",
289
317
  "types": "./dist/src/browser/shared/utils/form.d.ts"
290
318
  },
291
- "browser-shared-utils-schema": {
319
+ "./browser-shared-utils-hmac": {
320
+ "import": "./static/browser/shared/utils/hmac.js",
321
+ "types": "./dist/src/browser/shared/utils/hmac.d.ts"
322
+ },
323
+ "./browser-shared-utils-schema": {
292
324
  "import": "./static/browser/shared/utils/schema.js",
293
325
  "types": "./dist/src/browser/shared/utils/schema.d.ts"
294
326
  },
295
- "schema-ad-computers": {
327
+ "./browser-shared-utils-totp": {
328
+ "import": "./static/browser/shared/utils/totp.js",
329
+ "types": "./dist/src/browser/shared/utils/totp.d.ts"
330
+ },
331
+ "./schema-ad-computers": {
296
332
  "import": "./static/schemas/ad/computers.json",
297
333
  "require": "./static/schemas/ad/computers.json"
298
334
  },
299
- "schema-ad-groups": {
335
+ "./schema-ad-groups": {
300
336
  "import": "./static/schemas/ad/groups.json",
301
337
  "require": "./static/schemas/ad/groups.json"
302
338
  },
303
- "schema-ad-organizations": {
339
+ "./schema-ad-organizations": {
304
340
  "import": "./static/schemas/ad/organizations.json",
305
341
  "require": "./static/schemas/ad/organizations.json"
306
342
  },
307
- "schema-ad-users": {
343
+ "./schema-ad-users": {
308
344
  "import": "./static/schemas/ad/users.json",
309
345
  "require": "./static/schemas/ad/users.json"
310
346
  },
311
- "schema-standard-devices": {
347
+ "./schema-obm-organizations": {
348
+ "import": "./static/schemas/obm/organizations.json",
349
+ "require": "./static/schemas/obm/organizations.json"
350
+ },
351
+ "./schema-obm-users": {
352
+ "import": "./static/schemas/obm/users.json",
353
+ "require": "./static/schemas/obm/users.json"
354
+ },
355
+ "./schema-standard-devices": {
312
356
  "import": "./static/schemas/standard/devices.json",
313
357
  "require": "./static/schemas/standard/devices.json"
314
358
  },
315
- "schema-standard-groups": {
359
+ "./schema-standard-groups": {
316
360
  "import": "./static/schemas/standard/groups.json",
317
361
  "require": "./static/schemas/standard/groups.json"
318
362
  },
319
- "schema-standard-organizations": {
363
+ "./schema-standard-organizations": {
320
364
  "import": "./static/schemas/standard/organizations.json",
321
365
  "require": "./static/schemas/standard/organizations.json"
322
366
  },
323
- "schema-standard-users": {
367
+ "./schema-standard-users": {
324
368
  "import": "./static/schemas/standard/users.json",
325
369
  "require": "./static/schemas/standard/users.json"
326
370
  },
327
- "schema-twake-devices": {
371
+ "./schema-twake-devices": {
328
372
  "import": "./static/schemas/twake/devices.json",
329
373
  "require": "./static/schemas/twake/devices.json"
330
374
  },
331
- "schema-twake-groups": {
375
+ "./schema-twake-groups": {
332
376
  "import": "./static/schemas/twake/groups.json",
333
377
  "require": "./static/schemas/twake/groups.json"
334
378
  },
335
- "schema-twake-nomenclature-twakeaccountstatus": {
379
+ "./schema-twake-nomenclature-twakeaccountstatus": {
336
380
  "import": "./static/schemas/twake/nomenclature/twakeAccountStatus.json",
337
381
  "require": "./static/schemas/twake/nomenclature/twakeAccountStatus.json"
338
382
  },
339
- "schema-twake-nomenclature-twakedeliverymode": {
383
+ "./schema-twake-nomenclature-twakedeliverymode": {
340
384
  "import": "./static/schemas/twake/nomenclature/twakeDeliveryMode.json",
341
385
  "require": "./static/schemas/twake/nomenclature/twakeDeliveryMode.json"
342
386
  },
343
- "schema-twake-nomenclature-twakelisttype": {
387
+ "./schema-twake-nomenclature-twakelisttype": {
344
388
  "import": "./static/schemas/twake/nomenclature/twakeListType.json",
345
389
  "require": "./static/schemas/twake/nomenclature/twakeListType.json"
346
390
  },
347
- "schema-twake-nomenclature-twakemailboxtype": {
391
+ "./schema-twake-nomenclature-twakemailboxtype": {
348
392
  "import": "./static/schemas/twake/nomenclature/twakeMailboxType.json",
349
393
  "require": "./static/schemas/twake/nomenclature/twakeMailboxType.json"
350
394
  },
351
- "schema-twake-nomenclature-twaketitle": {
395
+ "./schema-twake-nomenclature-twaketitle": {
352
396
  "import": "./static/schemas/twake/nomenclature/twakeTitle.json",
353
397
  "require": "./static/schemas/twake/nomenclature/twakeTitle.json"
354
398
  },
355
- "schema-twake-organizations": {
399
+ "./schema-twake-organizations": {
356
400
  "import": "./static/schemas/twake/organizations.json",
357
401
  "require": "./static/schemas/twake/organizations.json"
358
402
  },
359
- "schema-twake-positions": {
403
+ "./schema-twake-positions": {
360
404
  "import": "./static/schemas/twake/positions.json",
361
405
  "require": "./static/schemas/twake/positions.json"
362
406
  },
363
- "schema-twake-users": {
407
+ "./schema-twake-users": {
364
408
  "import": "./static/schemas/twake/users.json",
365
409
  "require": "./static/schemas/twake/users.json"
366
410
  }
@@ -369,6 +413,7 @@
369
413
  "bin": {
370
414
  "cleanup-external-users": "bin/cleanup-external-users.mjs",
371
415
  "ldap-rest": "bin/index.mjs",
416
+ "sync-app-accounts": "bin/sync-app-accounts.mjs",
372
417
  "sync-james": "bin/sync-james.mjs"
373
418
  },
374
419
  "files": [
@@ -1,6 +1,7 @@
1
1
  export { createElement, escapeHtml, getElementByIdSafe, querySelectorAllSafe, querySelectorSafe, setInnerHTML, toTitleCase } from './utils/dom.js';
2
2
  export { collectPointerArrayValues, generateFormField, getFieldLabel, groupSchemaFields, processFormData } from './utils/form.js';
3
3
  export { clearPointerOptionsCache, getOrganizationPath, loadPointerOptions, loadSchema, replacePlaceholders, replaceSchemaPlaceholders } from './utils/schema.js';
4
+ export { TotpAuthClient, generateTotp, getRemainingSeconds, isValidBase32 } from './utils/totp.js';
4
5
  export { Modal } from './components/Modal.js';
5
6
  export { StatusMessage, showStatus } from './components/StatusMessage.js';
6
7
  export { THEMES } from './types/index.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}