Auth utilities on top of JWT and ring middlewares.
Add the following dependency to your
auth middleware should be applied to your Ring handler:
(:require 'clanhr.auth.auth-middleware :as auth)
Any request that don't have a valid JWT will be refused with an unauthorized response.
The api to create and validate tokens is given by
valid? inside of