Authorization and authentication primitives for Ring-based applications.
Authorization and authentication primitives for Ring-based applications.
(authenticated? request)Return true if the request is authenticated.
This function checks the :identity key
in the request.
Return `true` if the `request` is authenticated. This function checks the `:identity` key in the request.
(throw-unauthorized)(throw-unauthorized errordata)Throw an unauthorized exception.
Use it as an exception-based authorization primitive.
Throw an unauthorized exception. Use it as an 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 |