(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 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 |