kore/include/kore
Joris Vink 73be741bfd Allow authenticators on filemaps.
This commit introduces the ability to add authenticators to filemaps.
Just like in normal routes, the authenticators will be resolved first
before allowing access to the filemap entries.

Configuration wise, the authenticator is an optional value after the
filemap config directive:

	filemap / webroot myauth

In the Python API you can now pass the authenticator for a filemap entry
but turning the value of the filemap into a tuple with the first entry
being the path and the second being the auth dict:

	AUTH AUTH={
	    "type": "cookie",
	    "value": "cookiename",
	    "redirect": "/auth/",
	    "verify": verify_cookie
	}

	domain.filemaps({
	    "/css/": "webroot/css",
	    "/secret/": ("webroot/secret", AUTH)
	})
2022-08-10 10:13:01 +02:00
..
acme.h Initial work splitting OpenSSL code away. 2022-02-17 13:45:28 +01:00
curl.h i forgot, it's 2022. 2022-01-31 22:02:06 +01:00
hooks.h i forgot, it's 2022. 2022-01-31 22:02:06 +01:00
http.h Initial work splitting OpenSSL code away. 2022-02-17 13:45:28 +01:00
jsonrpc.h Move header files to include/kore. 2018-03-30 13:45:29 +02:00
kore.h Allow authenticators on filemaps. 2022-08-10 10:13:01 +02:00
pgsql.h i forgot, it's 2022. 2022-01-31 22:02:06 +01:00
python_api.h i forgot, it's 2022. 2022-01-31 22:02:06 +01:00
python_methods.h i forgot, it's 2022. 2022-01-31 22:02:06 +01:00
seccomp.h Pull in stddef.h in seccomp.h. 2022-03-21 12:51:22 +01:00
sha1.h Add missing header files for SHA1/SHA2. 2022-02-17 14:11:39 +01:00
sha2.h Add missing header files for SHA1/SHA2. 2022-02-17 14:11:39 +01:00
tasks.h Changes to the event loop inside of Kore. 2018-10-09 19:34:40 +02:00