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.

贡献者指南