Authentication and Authorization facilities for catacumba using funcool/buddy
Authentication and Authorization facilities for catacumba using funcool/buddy
(auth & backends)
Authentication chain handler constructor.
Authentication chain handler constructor.
Protocol that defines unfied workflow steps for all authentication backends.
Protocol that defines unfied workflow steps for all authentication backends.
(-authenticate _ context token)
Given a request and parsed data (from previous step), tries authenticate the current request and return the user entity. This function should return a IPromise instance.
Given a request and parsed data (from previous step), tries authenticate the current request and return the user entity. This function should return a IPromise instance.
(-parse _ request)
Parse token (from cookie, session or any other http header) and return it.
Parse token (from cookie, session or any other http header) and return it.
(jwe-backend {:keys [secret options token-name on-error]
:or {token-name "Token"}})
The JWE (Json Web Encryption) based backend constructor.
The JWE (Json Web Encryption) based backend constructor.
(jws-backend {:keys [secret options token-name on-error]
:or {token-name "Token"}})
The JWS (Json Web Signature) based backend constructor.
The JWS (Json Web Signature) based backend constructor.
(session-backend)
Given some options, create a new instance of Session backend and return it.
Given some options, create a new instance of Session backend and return it.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close