metosin/compojure-api

Security as first class citizen (with Buddy samples)

オープン

#122 opened on 2015/06/02

 (11 件のコメント) (0 件のリアクション) (0 人の担当者)Clojure (149 件のフォーク)batch import
enhancementhelp wanted

Repository metrics

Stars
 (1,120 個のスター)
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.

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