(require-*-admin {:keys [identity uri server-name] :as request})
The route requires the user to have the *-reader role, where
andrewslai.com-reader
The 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-reader
The 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-writer
The 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 is a website building & hosting documentation for Clojure/Script libraries
× close