Functionality for running a multi-build api server. This is very similar to the single-build api server, but it allows to register multiple builds, each with their own token. The token must be specified in the request, and it allows the request handlers to determine the build associated with the request.
Functionality for running a multi-build api server. This is very similar to the single-build api server, but it allows to register multiple builds, each with their own token. The token must be specified in the request, and it allows the request handlers to determine the build associated with the request.
(build-middleware handler builds)
Looks up the build associated with the security token and stores it in the context, so it can be used by the request handlers.
Looks up the build associated with the security token and stores it in the context, so it can be used by the request handlers.
(security-middleware handler builds)
Middleware that checks if the authorization header matches the specified token
Middleware that checks if the authorization header matches the specified token
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close