metosin/compojure-api

Security as first class citizen (with Buddy samples)

Open

#122 创建于 2015年6月2日

在 GitHub 查看
 (11 评论) (0 反应) (0 负责人)Clojure (1,120 star) (149 fork)batch import
enhancementhelp wanted

描述

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.

贡献者指南

Security as first class citizen (with Buddy samples) · metosin/compojure-api#122 | Good First Issue