{
    "source": "session.js",
    "method": "fileStore",
    "input-schema": {
        "type": "object",
        "properties": {
            "secret": {
                "type": "string"
            },
            "store": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                    "path": {
                        "type": "string",
                        "description": "The directory where the session files will be stored, relative to the project path",
                        "default": "\"./sessions\""
                    },
                    "ttl": {
                        "type": "integer",
                        "description": "Session time to live in seconds. Defaults to 3600."
                    },
                    "encoding": {
                        "type": "string",
                        "enum": ["utf8", "utf-8", "ascii", "binary", "latin1", "hex", "base64", "base64url", "ucs2", "ucs-2", "utf16le", "utf-16le"],
                        "default": "\"utf8\""
                    },
                    "fileExtension": {
                        "type": "string",
                        "default": "\"json\"",
                        "description": "Extension of session files"
                    },
                    "secret": {
                        "type": "string",
                        "title": "encryptionKey",
                        "description": "Secret key to encrypt the session files"
                    },
                    "encryptEncoding": {
                        "type": "string",
                        "title": "encryptionEncoding",
                        "description": "Specify the encoding for encryption (works only if encryptionKey is specified)",
                        "default": "\"hex\""
                    }
                }
            }
        }
    },
    "output-schema": {
        "type": "any"
    },
    "meta": {
        "name": "fileStore",
        "isInterface": true,
        "description": "Session middleware using filesystem",
        "inherits": "core/http/session/interface"
    }
}