metosin/compojure-api

Security as first class citizen (with Buddy samples)

Open

#122 opened on 2015年6月2日

GitHub で見る
 (11 comments) (0 reactions) (0 assignees)Clojure (149 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (1,120 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

separate namespace compojure.api.buddy with registered dispatchers for making it easy to use them from c-api. Something like:

(context* "/api" []
  :authenticated? true
  (context* "/admin" []
    :auth-handlers [admin-access operator-access]
    ...))

EDIT 18.8.2015. Should be security in general. Goes for Ring-Swagger too.

コントリビューターガイド