Liking cljdoc? Tell your friends :D

buddy.auth

Authorization and Authentication primitives for ring based applications.

Authorization and Authentication primitives for
ring based applications.

authenticated?

(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.
sourceraw docstring

throw-unauthorized

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close