{ "$schema": "../TcHmiFramework/Schema/FunctionDescription.Schema.json", "apiVersion": 1, "version": { "full": "14.3.340.0", "major": 14, "minor": 3, "build": 340, "revision": 0 }, "dependencyFiles": [ { "name": "LoginEx.js", "type": "JavaScript", "description": "" } ], "function": { "name": "LoginEx", "namespace": "TcHmi.Functions.Beckhoff", "displayName": "LoginEx", "visible": true, "category": "UserManagement", "waitMode": "Asynchronous", "injectContextObject": true, "description": "Login server session. Reload on login is recommended for security reasons.", "returnValue": null, "arguments": [ { "name": "ctx", "displayName": "ctx", "type": "tchmi:framework#/definitions/ContextReference", "description": "Context Reference", "required": true, "bindable": false }, { "name": "username", "displayName": "Username", "type": "tchmi:general#/definitions/String", "description": "Username to login.", "bindable": true }, { "name": "password", "displayName": "Password", "type": "tchmi:general#/definitions/String", "description": "Password to login.", "bindable": true }, { "name": "persistent", "displayName": "Persistent", "type": "tchmi:general#/definitions/Boolean", "description": "Should the session be valid even after browser restart.", "bindable": true, "defaultValue": true }, { "name": "reload", "displayName": "Reload", "type": "tchmi:general#/definitions/Boolean", "description": "Reload on login?", "bindable": true, "defaultValue": true } ] } }