buddy.auth

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.

throw-unauthorized

(throw-unauthorized)(throw-unauthorized errordata)

Throws a unauthorized exception.

Used as fast skip exception based authorization primitive.