Skip to content
Discussion options

You must be logged in to vote

Your REST API concern: while Lua directory functions and LSP are often used to generate HTML, they are not limited to HTML at all. In fact, when using directory functions or LSP, you can return JSON, XML, binary, or whatever content type you need. LSP is just a mechanism; it's up to you how you use it.
Directory functions: https://realtimelogic.com/ba/doc/en/VirtualFileSystem.html#directory

The ba.create.authenticator function in Lua wraps the underlying C implementation and gives you full control over how authentication is performed, including implementing your own token-based logic. You don't need to create a "custom authenticator class" like in C++; instead, you write a handler (a Lua …

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by surfskidude
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #29 on June 18, 2025 07:28.