metosin/compojure-api

Security as first class citizen (with Buddy samples)

Open

#122 ouverte le 2 juin 2015

Voir sur GitHub
 (11 commentaires) (0 réactions) (0 assignés)Clojure (149 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (1 120 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur