keycloakify 9.5.3 → 9.5.5
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/bin/keycloakify/generateFtl/ftl_object_to_js_code_declaring_an_object.ftl +3 -0
- package/login/kcContext/KcContext.d.ts +10 -0
- package/login/kcContext/KcContext.js.map +1 -1
- package/package.json +1 -1
- package/src/bin/keycloakify/generateFtl/ftl_object_to_js_code_declaring_an_object.ftl +3 -0
- package/src/login/kcContext/KcContext.ts +11 -0
@@ -494,6 +494,9 @@
|
|
494
494
|
key == "realm" ||
|
495
495
|
key == "container"
|
496
496
|
)
|
497
|
+
) || (
|
498
|
+
are_same_path(path, ["user"]) &&
|
499
|
+
key == "delegateForUpdate"
|
497
500
|
)
|
498
501
|
>
|
499
502
|
<#local out_seq += ["/*If you need '" + path?join(".") + "." + key + "' on " + pageId + ", please submit an issue to the Keycloakify repo*/"]>
|
@@ -200,6 +200,16 @@ export declare namespace KcContext {
|
|
200
200
|
};
|
201
201
|
type Terms = Common & {
|
202
202
|
pageId: "terms.ftl";
|
203
|
+
user?: {
|
204
|
+
id: string;
|
205
|
+
username: string;
|
206
|
+
attributes: Record<string, string[]>;
|
207
|
+
email: string;
|
208
|
+
emailVerified: boolean;
|
209
|
+
firstName?: string;
|
210
|
+
lastName?: string;
|
211
|
+
markedForEviction?: boolean;
|
212
|
+
};
|
203
213
|
};
|
204
214
|
type LoginDeviceVerifyUserCode = Common & {
|
205
215
|
pageId: "login-oauth2-device-verify-user-code.ftl";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"KcContext.js","sourceRoot":"","sources":["../../src/login/kcContext/KcContext.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;
|
1
|
+
{"version":3,"file":"KcContext.js","sourceRoot":"","sources":["../../src/login/kcContext/KcContext.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AA0mBtC;IAOI,MAAM,EAA4B,CAAC;IACnC,MAAM,EAAiC,CAAC;CAC3C;AAED,MAAM,EAA2D,CAAC"}
|
package/package.json
CHANGED
@@ -494,6 +494,9 @@
|
|
494
494
|
key == "realm" ||
|
495
495
|
key == "container"
|
496
496
|
)
|
497
|
+
) || (
|
498
|
+
are_same_path(path, ["user"]) &&
|
499
|
+
key == "delegateForUpdate"
|
497
500
|
)
|
498
501
|
>
|
499
502
|
<#local out_seq += ["/*If you need '" + path?join(".") + "." + key + "' on " + pageId + ", please submit an issue to the Keycloakify repo*/"]>
|
@@ -244,6 +244,17 @@ export declare namespace KcContext {
|
|
244
244
|
|
245
245
|
export type Terms = Common & {
|
246
246
|
pageId: "terms.ftl";
|
247
|
+
//NOTE: Optional because maybe it wasn't defined in older keycloak versions.
|
248
|
+
user?: {
|
249
|
+
id: string;
|
250
|
+
username: string;
|
251
|
+
attributes: Record<string, string[]>;
|
252
|
+
email: string;
|
253
|
+
emailVerified: boolean;
|
254
|
+
firstName?: string;
|
255
|
+
lastName?: string;
|
256
|
+
markedForEviction?: boolean;
|
257
|
+
};
|
247
258
|
};
|
248
259
|
|
249
260
|
export type LoginDeviceVerifyUserCode = Common & {
|