(parse-claims claims)
Converts the JWT claims to a session hashmap.
Converts the JWT claims to a session hashmap.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close