metosin/compojure-api

Security as first class citizen (with Buddy samples)

Open

#122 建立於 2015年6月2日

在 GitHub 查看
 (11 留言) (0 反應) (0 負責人)Clojure (149 fork)batch import
enhancementhelp wanted

倉庫指標

Star
 (1,120 star)
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.

貢獻者指南