Liking cljdoc? Tell your friends :D

kaleidoscope.clj.api.authorization


public-accessclj

source

require-*-adminclj

(require-*-admin {:keys [identity uri server-name] :as request})

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
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`
sourceraw docstring

require-*-readerclj

(require-*-reader {:keys [identity uri server-name] :as request})

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
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`
sourceraw docstring

require-*-writerclj

(require-*-writer {:keys [identity uri server-name] :as request})

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
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`
sourceraw docstring

require-roleclj

(require-role role {:keys [identity uri] :as request})
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close