Authorization and Authentication primitives for ring based applications.
Authorization and Authentication primitives for ring based applications.
(authenticated? request)
Return true
if the request
is an
authenticated request.
This function checks the :identity
key
in the request.
Return `true` if the `request` is an authenticated request. This function checks the `:identity` key in the request.
(throw-unauthorized)
(throw-unauthorized errordata)
Throws a unauthorized exception.
Used as fast skip exception based authorization primitive.
Throws a unauthorized exception. Used as fast skip exception based authorization primitive.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close