metosin/compojure-api

Security as first class citizen (with Buddy samples)

開放

#122 建立於 2015年6月2日

 (11 則留言) (0 個反應) (0 位負責人)Clojure (149 個分叉)batch import
enhancementhelp wanted

倉庫指標

星標
 (1,120 顆星)
PR 合併指標
 (30 天內沒有已合併 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.

貢獻者指南