diff --git a/components/org.wso2.carbon.identity.conditional.auth.functions.user/src/main/java/org/wso2/carbon/identity/conditional/auth/functions/user/model/graaljs/JsGraalUserSession.java b/components/org.wso2.carbon.identity.conditional.auth.functions.user/src/main/java/org/wso2/carbon/identity/conditional/auth/functions/user/model/graaljs/JsGraalUserSession.java index e1ee1d50..4a272428 100644 --- a/components/org.wso2.carbon.identity.conditional.auth.functions.user/src/main/java/org/wso2/carbon/identity/conditional/auth/functions/user/model/graaljs/JsGraalUserSession.java +++ b/components/org.wso2.carbon.identity.conditional.auth.functions.user/src/main/java/org/wso2/carbon/identity/conditional/auth/functions/user/model/graaljs/JsGraalUserSession.java @@ -47,16 +47,14 @@ public JsGraalUserSession(UserSession wrappedUserSession) { @Override public Object getMemberKeys() { - return new String[]{"id", "createdTimestamp", "lastAccessTime", "tenantDomain", "user", "application", - "userAgent"}; + return new String[]{"id", "lastAccessTime", "applications", "userAgent", "ip", "loginTime"}; } @Override public boolean hasMember(String key) { - return "id".equals(key) || "createdTimestamp".equals(key) || "lastAccessTime".equals(key) || - "tenantDomain".equals(key) || "user".equals(key) || "application".equals(key) || - "userAgent".equals(key); + return "id".equals(key) || "lastAccessTime".equals(key) || "applications".equals(key) || + "userAgent".equals(key) || "ip".equals(key) || "loginTime".equals(key); } @Override