buddy.auth.backends.token

The token based authentication and authorization backend.

jwe-backend

(jwe-backend {:keys [secret authfn unauthorized-handler options token-name on-error], :or {authfn identity, token-name "Token"}})

jws-backend

(jws-backend {:keys [secret authfn unauthorized-handler options token-name on-error], :or {authfn identity, token-name "Token"}})

token-backend

(token-backend {:keys [authfn unauthorized-handler token-name], :or {token-name "Token"}})