Does anyone know of a simple library I can use with liberator (for the api-part) to, someone suggested, implement an authentication scheme using an auth token?
Thanks!
Not sure if this is what you want, but have you had a look into Friend (https://github.com/cemerick/friend)?
There's also a nice tutorial on hooking it up with Liberator here: http://sritchie.github.io/2014/01/17/api-authentication-with-liberator-and-friend/
As Antonio said, Friend is your friend :-)
Also, I found this example to be a fairly complete starting point for building a REST API w/ Friend and other libraries you will likely need. While it isn't a "basic" example, it is something like what you might end up with once you flesh your app out a bit.
https://github.com/thegeez/clj-crud
Good luck!
Alan
--
Note that posts from new members are moderated - please be patient with your first post.
---
You received this message because you are subscribed to a topic in the Google Groups "ClojureScript" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/clojurescript/iLZCLcBhfLM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to clojurescrip...@googlegroups.com.
To post to this group, send email to clojur...@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.
You received this message because you are subscribed to the Google Groups "ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojurescrip...@googlegroups.com.