Liking cljdoc? Tell your friends :D

catacumba.handlers.auth

Authentication and Authorization facilities for catacumba using funcool/buddy

Authentication and Authorization facilities for catacumba
using funcool/buddy 
raw docstring

authclj

(auth & backends)

Authentication chain handler constructor.

Authentication chain handler constructor.
sourceraw docstring

IAuthenticationcljprotocol

Protocol that defines unfied workflow steps for all authentication backends.

Protocol that defines unfied workflow steps for
all authentication backends.

-authenticateclj

(-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.

-parseclj

(-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.
sourceraw docstring

jwe-backendclj

(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.
sourceraw docstring

jws-backendclj

(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.
sourceraw docstring

session-backendclj

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close