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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |