keycloakify 9.5.4 → 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.
@@ -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
@@ -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 & {
|