{
    "$schema": "../TcHmiFramework/Schema/FunctionDescription.Schema.json",
    "apiVersion": 1,
    "version": {
        "full": "1.12.760.48",
        "major": 1,
        "minor": 12,
        "build": 760,
        "revision": 48
    },
    "dependencyFiles": [
        {
            "name": "LogoutEx.js",
            "type": "JavaScript",
            "description": ""
        }
    ],
    "function": {
        "name": "LogoutEx",
        "namespace": "TcHmi.Functions.Beckhoff",
        "displayName": "LogoutEx",
        "visible": true,
        "category": "UserManagement",
        "waitMode": "Asynchronous",
        "injectContextObject": true,
        "description": "Logout server session. Will cause hmi to reload if reload parameter is not set to false.",
        "returnValue": null,
        "arguments": [
            {
                "name": "ctx",
                "displayName": "ctx",
                "type": "tchmi:framework#/definitions/ContextReference",
                "description": "Context Reference",
                "required": true,
                "bindable": false
            },
            {
                "name": "reload",
                "displayName": "Reload",
                "type": "tchmi:general#/definitions/Boolean",
                "description": "Reload on logout? Reload on logout is recommended for security reasons.",
                "bindable": true,
                "defaultValue": true
            }
        ]
    }
}