Liking cljdoc? Tell your friends :D

com.timezynk.useful.session.middleware


parse-claimsclj

(parse-claims claims)

Converts the JWT claims to a session hashmap.

Converts the JWT claims to a session hashmap.
raw docstring

wrap-currentclj

(wrap-current handler)

Binds com.timezynk.useful.rest.current-user helpers to the authenticated user.

Binds `com.timezynk.useful.rest.current-user` helpers
to the authenticated user.
raw docstring

wrap-sessionclj

(wrap-session handler)
(wrap-session handler inflate-fn)

Decorates requests with the results of com.timezynk.useful.session.middleware/parse-claims under the :session key.

Decorates requests with the results of
`com.timezynk.useful.session.middleware/parse-claims`
under the `:session` key.
raw docstring

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

× close