(require-*-admin {:keys [identity uri server-name] :as request})The route requires the user to have the *-reader role, where
andrewslai.com-readerThe route requires the user to have the *-reader role, where * is the server-name. For example, when sending a request to andrewslai.com, requires `andrewslai.com-reader`
(require-*-reader {:keys [identity uri server-name] :as request})The route requires the user to have the *-reader role, where
andrewslai.com-readerThe route requires the user to have the *-reader role, where * is the server-name. For example, when sending a request to andrewslai.com, requires `andrewslai.com-reader`
(require-*-writer {:keys [identity uri server-name] :as request})The route requires the user to have the *-writer role, where
andrewslai.com-writerThe route requires the user to have the *-writer role, where * is the server-name. For example, when sending a request to andrewslai.com, requires `andrewslai.com-writer`
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |