With compojure, what is the following actually doing?
(defmethod restructure-param :current-user
[_ binding acc]
(update-in acc [:letks] into [binding `(:identity ~'+compojure-api-request+)]))
Does it look for :current-user in the route and then bind identity, not sure on the compojure-api-request bit.
Sorry if my question seems a little vague. I am trying to tie in buddy jwt to my luminus service routes. I have been following this http://www.luminusweb.net/docs/services.html
I am not sure where :current-user user is coming from.
I wonder if it’s unimportant and what I’m suppose to expect is for buddy to inject :identity into the request when decomposing the JWT?