Liking cljdoc? Tell your friends :D

turvata.ring.middleware


require-api-authclj

(require-api-auth env)

Ring middleware that requires a valid V2 API token in the Authorization header. Parses the token, fetches the DB record via UUID, and validates the HMAC signature.

Ring middleware that requires a valid V2 API token in the Authorization header.
Parses the token, fetches the DB record via UUID, and validates the HMAC signature.
sourceraw docstring

require-web-authclj

(require-web-auth env)

Ring middleware that requires a valid stateful session cookie. Unchanged structurally, as it relies on turvata.session logic.

Ring middleware that requires a valid stateful session cookie.
Unchanged structurally, as it relies on turvata.session logic.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close